delorie.com/archives/browse.cgi | search |
Date: | Thu, 9 Aug 2001 19:44:26 +1000 (EST) |
From: | DONALD PEDDER <jims_son AT jedi DOT apana DOT org DOT au> |
To: | <opendos AT delorie DOT com> |
Subject: | Re: batch file problems |
In-Reply-To: | <2.07b7.WYH9.GHSGO2@belous.munic.msk.su> |
Message-ID: | <Pine.GSO.4.33.0108091942450.23823-100000@jedi.apana.org.au> |
MIME-Version: | 1.0 |
Reply-To: | opendos AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | opendos AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thu, 9 Aug 2001, Arkady V.Belousov wrote: > Internal COMMAND.COM commands doesn't change errorlevel. :-( Hmmm, that sounds like a strange thing to do. > But in this case solution exist: > > if not exist %1 goto nofile > copy %1 Okay, I'll try it that way. Not sure why I didn't think of that myself. Thanks. dp.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |