Sign in with
Sign up | Sign in
Your question

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

Last response: in Windows XP
Share
November 12, 2012 12:18:25 PM

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.
November 12, 2012 7:29:52 PM

What "program" are you running in command prompt ?
If it's a batch file "Exit" will do it.
m
0
l
November 13, 2012 9:48:11 AM

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.
m
0
l
Related resources
November 17, 2012 8:19:21 PM

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 ;) 
m
0
l
November 20, 2012 5:03:33 PM

Batch file is a plain text edit, just look at what it contains.
m
0
l
!