How to launch a batch file quietly or invisibly without a command prompt window act as a hidden process on Windows XP and Windows 7 using VBScript file
by: Revengsky Joseph D. Reyes – a.k.a rjdreyes
Creating a VBScript file to make your batch command file (.bat or .cmd) be invisible or quietly runs on your Windows XP / 7 environment is easy!
Open a Notepad then copy and paste the example code below:
FOR WINDOWS XP / 7:
Set oShell = CreateObject (“Wscript.Shell”)
strArgs = “cmd /c mybatchfilehere.bat”
oShell.Run strArgs, 0, false
Save the file as .vbs – myhiddenproces.vbs (as an example), Double-click the file to run it or put it on the Startup Menu Program to launch the batch file instantly when the computer boots on the Windows OS.
FOR MINIMIZED COMMAND PROMPT WINDOW:
Or if you want to minimize the command prompt window, you only need simple steps to run the batch file in minimized mode on Windows XP/7:
1. Right-click to the .bat or .cmd (batch file), then navigate Send to Desktop (create shortcut).
2. Right-click the shortcut then click Properties.
3. From the Shortcut tab, go to the Run Section, click the drop-down menu and choose Minimized. Then click OK. Double-click the file to run it or put it on the Startup Program Menu to launch the batch file instantly when the computer boots on the Windows OS.
Try to explore its usages, then comment here if you found one interesting to share.
That’s all! I hope this guide and tips helps you out! Cheers!
(Note: Microsoft (Windows XP and 7 OS), CMD, Command Prompt, Batch Command, VBScript – Logo/Images/Pictures has a respective copyright. I used it for demonstration purpose only.)
Related Entries / Links / Sources / Articles / Sources:
Create a batch file with an infinite loop for Windows XP / 7
BUY WINDOWS XP / 7 AT AMAZON US: