How to run batch file without the DOS window poping up

G

Guest

Guest
Hello,
who knows how to run a batch file in a silent mode with out DOS windows poppin' up.. can you tel me how it works.. thanks...
email me at jony_miles
 

greenfield

Distinguished
Jan 3, 2010
460
0
18,810
Some hint for you here:

MS-DOS/MSDOS Batch Files: Batch File Tutorial and Reference

http://www.allenware.com/icsw/icswidx.htm


run a .bat file without see opening a window?

http://www.tomshardware.com/forum/99851-45-file-opening-window



Is there a way to run a batch script without it popping up a cmd window?

http://serverfault.com/questions/9038/run-a-bat-file-in-a-scheduled-task-without-a-window



How to Run .BAT Files Invisibly, Without Displaying the Command Prompt Window

http://www.winhelponline.com/blog/run-bat-files-invisibly-without-displaying-command-prompt/


Can I Run A Batch File Hiddin The DOS Window?

http://www.bigresource.com/VB-Program-launches-batch-file-can-I-hide-DOS-window--EMc7h6RnXe.html




Execute program without actually opening up command prompt?

http://www.devhardware.com/forums/programming-82/batch-file-execute-program-without-actually-opening-up-command-prompt-178668.html


bon courage
later,G

 

edspoon

Distinguished
Feb 5, 2012
2
0
18,510
Hello,
who knows how to run a batch file in a silent mode with out DOS windows poppin' up.. can you tel me how it works.. thanks...
email me at jony_miles

use a VBS Script to call the batch file ...

Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "C:\Batch Files\syncfiles.bat" & Chr(34), 0
Set WshShell = Nothing

Copy the lines above to Notepad and save the file with .VBS extension. Edit the .BAT file name and path accordingly.