Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1868

Using VBScript functions from TCC22

$
0
0
I am a frequent user of VBScript, and have added the following to TCC22 to make using VBScript functions easier;

I have created a library file;
Code:
vb {
@setlocal
@echo off
echo set fso=CreateObject("Scripting.FileSystemObject") > c:\utils\vb.vbs
echo set stdout=fso.GetStandardStream(1) >> c:\utils\vb.vbs
echo stdout.WriteLine %* >> c:\utils\vb.vbs
echo set fso=Nothing >> c:\utils\vb.vbs
cscript //nologo c:\utils\vb.vbs
if exist c:\utils\vb.vbs del /q c:\utils\vb.vbs
endlocal
}

...which I...

Read more

Viewing all articles
Browse latest Browse all 1868

Trending Articles