Running batch files in the background
Solved/Closed
armandsaga
Posted messages
23
Status
Membre
-
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 réponses
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!
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!
thank you for your idea, it works.