To: opendos AT delorie DOT com X-Comment-To: DONALD PEDDER References: Message-Id: <2.07b7.WYH9.GHSGO2@belous.munic.msk.su> From: "Arkady V.Belousov" Date: Thu, 9 Aug 2001 10:57:38 +0400 (MSD) Organization: Locus X-Mailer: dMail [Demos Mail for DOS v2.07b7] Subject: Re: batch file problems Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r X-MIME-Autoconverted: from 8bit to quoted-printable by postbox.mos.ru id f796wMx09450 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA05513 Reply-To: opendos AT delorie DOT com X-Comment-To: DONALD PEDDER Hi! 9-αΧΗ-2001 12:34 jims_son AT jedi DOT apana DOT org DOT au (DONALD PEDDER) wrote to : DP> I have a batch file with a copy in it, followed by the line... DP> if errorlevel 1 goto nofile Internal COMMAND.COM commands doesn't change errorlevel. :( But in this case solution exist: if not exist %1 goto nofile copy %1