Computing.Net > Forums > Disk Operating System > Batch file loop error

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 loop error

Reply to Message Icon

Name: David
Date: June 19, 2002 at 08:28:09 Pacific
Comment:

I have a dos batch file that I call from the windows startup folder. The batch file reads as follows:

subst x: d:\temp

When I run this batch file from the startup folder or manually it creates an endless loop and never completes the command. When I type the command by itself in a dos prompt it succeeds with no issues. Is there something I am missing? Is this something peculiar to the Windows 2000 cmd.exe? Any help would be greatly appreciated.

Thanking you in advance,
David



Sponsored Link
Ads by Google

Response Number 1
Name: tom
Date: June 19, 2002 at 12:22:55 Pacific
Reply:

Just a stab in the dark here - but try going
into the properties of the batch file and
then "Program" and click "close on exit"
Furthermore, click on the "Misc" tab and
uncheck "Warn if still active".

hth -
Tom


0
Reply to Message Icon

Related Posts

See More


best undelete program? Batch: Make list of files...



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 loop error

Batch files & looping www.computing.net/answers/dos/batch-files-amp-looping/9628.html

DOS Batch file to FTP files from UNIX www.computing.net/answers/dos/dos-batch-file-to-ftp-files-from-unix/2105.html

how do I do a loop in a DOS batch file? www.computing.net/answers/dos/how-do-i-do-a-loop-in-a-dos-batch-file/6793.html