Running batch files in the background

Solved/Closed
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
Configuration: Windows 2000 Firefox 2.0.0.11

6 answers

  • Votes
  • Date
  • Descending date
  1. 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!
    1. Hello,
      thank you for your idea, it works.
  2. Yes, having ultimate knowledge, knowing everything, is impossible ^^
    1. I will go to bed less of an idiot tonight, I didn't know that was possible.
      1. A batch file executes only in command line, no background option available, but you can hide the commands in the window with @echo off.