Results 1 to 8 of 8
i know this isnt windows forums,but i couldnt find one
so heres my problem:
When trying to run .bat files command prompt opens for a milisecond and closes again...
- 11-11-2006 #1
command line
i know this isnt windows forums,but i couldnt find one
so heres my problem:
When trying to run .bat files command prompt opens for a milisecond and closes again
- 11-11-2006 #2
Have you tried selecting 'Run' then typing cmd ... Then running your batch file from there? You can type dir/w to see which directory you're in. Then navigate to the correct one. For eg. cd mydir ... then type the name of the batch file.
Ages since I tried though.
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
- 11-11-2006 #3as fingal suggested, execute .bat file in RUN box or in terminal. what are the contents of .bat file? i think your file doesn't need user interaction. it did its work and exited.
Originally Posted by jan1024188
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-11-2006 #4
ok it worked
Now i have another problem
Im using Dec-c++ and i wrote test program in C.Now that compiles well but when trying to run it happens the same thing.Command prompt apears and disapears on a screen...
- 11-11-2006 #5
add getch() or a scanf statement at the end to hold screen for a while.
EDIT: why did you start this thread in 'The Coffee Lounge'?
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-11-2006 #6
where could i post it...these are linux forums
- 11-11-2006 #7may be in Misc section...
Originally Posted by jan1024188 
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-11-2006 #8
ok...next time ill post stuff like that there.....
anyway, if moderator wants than moves threads(i think)...


Reply With Quote
