Running batch files in the background
Solved/Closed
armandsaga
Posted messages
23
Status
Member
-
kouRa -
kouRa -
Hello,
I would like my batch files to run in the background, so they are no longer visible,
what command should I use or how can I do this, thank you in advance
I would like my batch files to run in the background, so they are no longer visible,
what command should I use or how can I do this, thank you in advance
Configuration: Windows 2000 Firefox 2.0.0.11
6 answers
-
Hello! You can use a .vbs file that will completely hide your batch files! (Visible only in the task manager).
Create a text file, change the extension to .vbs, and copy this code inside:
Set oWShell = CreateObject("Wscript.Shell")
oWShell.Run """C:/yourbatch.bat""", 0, False
Set oWShell = Nothing
Just replace C:/yourbatch.bat with the path to your batch file, of course!
Good luck! -
Yes, having ultimate knowledge, knowing everything, is impossible ^^
-
-
-
I will go to bed less of an idiot tonight, I didn't know that was possible.
-
A batch file executes only in command line, no background option available, but you can hide the commands in the window with @echo off.