dos/cmd windows close before I can read them

P

PC-Dude

Guest
Running XP Pro ... whenever I run a .bat file or some other command that a "dos" window pops up they always close quickly. I don't even get chance to read it. Anyone know why this happens? Thx
 
Two ways I can think of to try.

1/ Right click/edit. At the end add 'pause'. No quotes.

2/ Right click/properties. Can't remember exactly but there should be something in there to stop it closing.
 
I use the pause and it works on the ones I can edit however some of the others that are not an editable .bat file this doesn't help ..... but thx for you help. I'll try the right click thing the next time i use one and try it out.
 
If you open the command prompt from Start>Run and then run the batch file, the window doesn't close. That's an alternative to using the pause command at the end of the batch job.
 
NetRyder is right, the only way not to see dos windows disappear is to run .bat files in command prompt ;)
 
or use the /k switch (If I remember right that is :)) file.bat /k, but that requires you to either use start>run or create a shortcut to it :)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back