Question:

.bat Batch file closes right away ?

by Guest56721  |  earlier

0 LIKES UnLike

Hello, im using vista Home Basic 32-bit, i am trying to open a batch file and it opens, but it only flashes the window up and closes straight away.

how can i stop it from closing righ away ?

Cheers

 Tags:

   Report

3 ANSWERS


  1. Right-click the batch file and select Edit.


  2. run them from the command interpreter to see the output

    go to Start -> Run -> (type) cmd -> (press enter)

    this will open windows command interpreter

    change a dir to a directory where your batch is located (for example, "cd c:\mybatches"

    then type "mybatfile.bat" (by the way, for now you could use .cmd extension instead of .bat) and it will be executed, and you will see the output inside the command interpreter window

  3. go to command prompt (Start > Run > cmd) and browse to the folder it's in and then type the filename. The output of whatever it does will be displayed in the command prompt window.

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.