Date: Thu, 9 Aug 2001 19:44:26 +1000 (EST) From: DONALD PEDDER To: Subject: Re: batch file problems In-Reply-To: <2.07b7.WYH9.GHSGO2@belous.munic.msk.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.