delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2001/08/09/04:12:49

To: opendos AT delorie DOT com
X-Comment-To: DONALD PEDDER <jims_son AT jedi DOT apana DOT org DOT au>
References: <Pine DOT GSO DOT 4 DOT 33 DOT 0108091225120 DOT 16221-100000 AT jedi DOT apana DOT org DOT au>
Message-Id: <2.07b7.WYH9.GHSGO2@belous.munic.msk.su>
From: "Arkady V.Belousov" <ark AT belous DOT munic DOT msk DOT su>
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
X-MIME-Autoconverted: from 8bit to quoted-printable by postbox.mos.ru id f796wMx09450
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
<opendos AT delorie DOT com>:

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019