When i open my command prompt,am doing my program and comand prompt if

when i open my command prompt,am doing my program and command prompt is automatically getting off in the middle.why is it happening?and what should i do now?
please give Ur suggestions.
4 answers Last reply
More about when open command prompt program comand prompt
  1. What "program" are you running in command prompt ?
    If it's a batch file "Exit" will do it.
  2. If you are trying to run a batch file, it could be a syntax error, which in most cases causes an instant exit. To diagnose, try opening up cmd.exe, and running the program directly from the command line. If you get a result such as 'Syntax Error', or something of that effect, review the batch file.

    Otherwise, if it is a command prompt-based application, it could easily be a glitch in the code, so it may be worthwhile to report the bug to the developers, if they offer such an option.
  3. srilekhya said:
    when i open my command prompt,am doing my program and command prompt is automatically getting off in the middle.why is it happening?and what should i do now?
    please give Ur suggestions.
    no it's waiting for u to give it a command ;)
  4. Batch file is a plain text edit, just look at what it contains.
Ask a new question

Read More

Command Prompt Windows XP