Computing.Net > Forums > Disk Operating System > Batch file get halted in DOS mode

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file get halted in DOS mode

Reply to Message Icon

Name: ongjn
Date: November 10, 2003 at 20:34:02 Pacific
OS: Windows XP
CPU/Ram: Pentium 4
Comment:

When I'm running a simple program in the DOS mode, it gets halted in the half way sometimes. This will cause the failure of others batch programs. I'm finding a solution to close the program once it is getting halted?

echo open edi.pen.com >> getrec
rem echo open 203.127.XXX.XX >> getrec
echo XXXXXX>> getrec
echo XXXXXX>> getrec
echo cd /pen/pen2pen >> getrec
echo lcd c:\pen >> getrec
echo mget pen*.txt >> getrec
echo cd /pen/pen2penhist >> getrec
echo mput pen*.txt >> getrec
echo cd /pen/pen2pen >> getrec
echo mdelete pen*.txt >> getrec
echo bye>> getrec
ftp -i -s:getrec

copy pen*.txt c:\pen\hist

pen.exe

del getrec
echo FILE DOWNLOAD FINISHED!
exit



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Batch file get halted in DOS mode

getting sound in dos mode www.computing.net/answers/dos/getting-sound-in-dos-mode/7887.html

Getting sound in DOS Mode www.computing.net/answers/dos/getting-sound-in-dos-mode/7895.html

Reading Txt file in dos mode www.computing.net/answers/dos/reading-txt-file-in-dos-mode/13836.html