This may come in handy to hide a long listed batch process window which may appear ugly to a end user or even yourself.
This 1 line VBS script can also be used for hidding a cmd/batch file running from a CD/DVD image you may have burned for someone to install something.
The 1 line VBS code is:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
You can download the VBS Script and its interptor(wscript.exe) here.
It's run command is very simple:
To run from Win98 through Vista/7 etc use as follows:
To run from command prompt type
start-hidden.vbs "path to a batch file" example:
To run from a burned CD/DVD call from Autorun.inf
Example with wscript.exe (VBS) interptor:
Note: using the interptor will prevent an error from ocurring on a computer that does not have the interptor installed.
open=wscript.exe ".\run\start-hidden.vbs" ".\run\startup.cmd"
Thanks for visiting mswintips.com.
Return to Index Page
Copyright ©2018 CSN All Rights Reserved