tags:

views:

31

answers:

2

How Can I hide the console of a running batch file the batch is running from a cmd or start>run

A: 

You need to provide more info. what runs the batch file.

Gonen
IF I run the Batch from cmd or double click or start>run not from a software or a development language(from Windows)
Mario
+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