Closed

How to run a cmd/bat file without a windows popping up?

Hi everyone! I just wanted to know, is there someway to run a cmd/bat file without the windows popping up? Is there some command I would have to type in like quiet or something like that?

Thanks!
4 answers Last reply
More about file windows popping
  1. try @ echo off

    You might see a blink of the window but it should suppress the rest.
    http://commandwindows.com/
  2. Hi, I see this was posted a while ago, but here's another solution that might help.

    Open up your text editor and enter the following code:

    Set WshShell = CreateObject("WScript.Shell")
    WshShell.Run chr(34) & "C:\PATH\TO\FILE.bat" & Chr(34), 0
    Set WshShell = Nothing

    Replacing C:\PATH\TO\FILE.bat with the actual path to the file.

    Save it as a .vbs file, e.g. batOpener.vbs

    Double click on the vbs file and it should run your bat without opening any command window!
  3. Hi Kipper. Is this windows scripting? or just Vb Scripting. I'd like to learn more about this. Are they the same?
    Where can I find more of these commands? Is there an online tutorial of some sort?
  4. This topic has been closed by Mousemonkey
Ask a new question

Read More

Command Prompt Windows Vista