Quantcast
Channel: T&T - Library Functions
Viewing all articles
Browse latest Browse all 10

Using VBScript functions from TCC

$
0
0
I am a frequent user of VBScript, and have added the following library function to TCC to make using VBScript functions easier;
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
}

Read more at...

Read more

Viewing all articles
Browse latest Browse all 10

Trending Articles