• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

command prompt

D

dave_casserly

Guest
#1
When i run a console .exe the command prompt opens and shuts down before i have chance to read the messages.

How can i configure command prompt to stay open after ive run a console exe or a batch file.

Cheers

ps. im using XP
 
D

dave_casserly

Guest
#3
Yeah i know but then id have to type in the path to it which is long and annoying.

Every other application manages to stay open. Im sure there must be some stupid registry setting somewhere. Why doesnt microsoft do config files.

Cheers
 
D

dave_casserly

Guest
#7
alan: it isnt a batch file, its an executable.

farseeker: yeah ive seen that before somewhere. maybe in win98 but it doesnt appear in XP.
 
A

Angst

Guest
#8
I would suggest running the command prompt manually, running your console and see why it is terminating. Since the windows closes so fast.
 
A

allan

Guest
#9
Dave - sorry - your original post asked about batch files.

You can make the window to stay open by typing CMD /K before the command (ie, cmd /K console)
 

Khayman

I'm sorry Hal...
Political User
#10
It can't be done, you have to run cmd manually then run the program.
when you run a command program in run it just executes the program and the program unloads when its finsihed so it closes
 
A

allan

Guest
#11
You cannot execute the command from RUN and have it do what you want - has to be from a command prompt.
 
D

dave_casserly

Guest
#12
alan: sorry i didnt realise i mentioned batch files in original post. Im not using batch files, i just thought id mention them in the same context.

OK then, if i cant do it then ok. As long as i know i can or cant, then im happy. Wondering leaves me unsettled.

Thanks for help everyone.
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies