Click here for Low cost website hosting!

IP Address Lookup
IP Address

Microsoft Windows Tips And Tricks!


Hide Dos CMD window or Batch Process

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:
start-hidden.vbs "C:\download\test.bat"
start-hidden.vbs "C:\download\test1.cmd"

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

Return to Index Page

Valid HTML 4.01 Transitional
Copyright 2019 CSN All Rights Reserved