How Can I hide the console of a running batch file the batch is running from a cmd or start>run
IF I run the Batch from cmd or double click or start>run not from a software or a development language(from Windows)
Mario
2010-10-07 10:30:04
+2
A:
You can try a couple of things:
Schedule it with a user other than you.
or
CMD /C START /MIN your.CMD
or
This WSH/VBScript will run your batch file in a hidden window:
'MyCmd.vbs
Set WshShell = WScript.CreateObject("WScript.Shell")
cmd = "C:\bin\scripts\MyCmd.cmd"
Return = WshShell.Run(cmd, 0, True)
set WshShell = Nothing
Pavan
2010-10-07 10:28:50