how can i hide the DOS window when executing a batch file ?
Moderator: DosItHelp
-
- Posts: 5
- Joined: 10 Sep 2009 22:53
how can i hide the DOS window when executing a batch file ?
how can i hide the DOS window when executing a batch file ?
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa
-
- Posts: 4
- Joined: 21 Sep 2009 14:56
Re: how can i hide the DOS window when executing a batch fil
suhasmahajan85 wrote:how can i hide the DOS window when executing a batch file ?
Hi,
there is a small utility out there called "RunHiddenConsole". It was
developed to run batch files completely hidden without showing (or
annoying flasing) the console window. You can go to http://www.msfn.org/board/tool-hide-con ... 49184.html
then register and download it. Works Great btw.
GeekyGuyJax..
You can simply convert the bat to an exe using a converter, this brings up no cmd window and has the same effect (at least in what I've tested so far), or you can make a vbs that executes your bat like this:
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\path\filename.bat" & Chr(34), 0
Set WshShell = Nothing
Although this means you need both a vbs and a batch file.
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\path\filename.bat" & Chr(34), 0
Set WshShell = Nothing
Although this means you need both a vbs and a batch file.