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

X-Originating-IP: [203.164.2.199]
From: "Joydeep Mitra" <jolly_joydeep AT hotmail DOT com>
To: opendos AT delorie DOT com
Subject: Re: more on the batch file problem
Date: Thu, 09 Aug 2001 18:24:13 +1000
Mime-Version: 1.0
Message-ID: <F103C81TbdkSmLAztxc00003c86@hotmail.com>
X-OriginalArrivalTime: 09 Aug 2001 08:24:14.0189 (UTC) FILETIME=[AC65A1D0:01C120AC]
Reply-To: opendos AT delorie DOT com

After the "if errorlevel 1 goto nofile" line, do you have a "goto exit" on 
the next line. If you don't then the batch file will continue along past the 
"nofile" label and display the error message.

You can email the batch file to me if you like (email: 
jolly_joydeep AT hotmail DOT com ) for me to look at.

Regards

JM


>From: DONALD PEDDER <jims_son AT jedi DOT apana DOT org DOT au>
>Reply-To: opendos AT delorie DOT com
>To: <opendos AT delorie DOT com>
>Subject: more on the batch file problem
>Date: Thu, 9 Aug 2001 12:41:27 +1000 (EST)
>
>    Correction - I just tried it again and my original problem is back
>(always says the file isn't there). When I put in a file that is there,
>there is disk activity, but not when I put one that isn't. Presumably the
>copy is actually being done, but I still have an "errorlevel 1" at the
>end, even though it was a successful copy (I have confirmed this by
>checking the output file).
>    A quick search of dosbook failed to find anything about "errorlevel"
>(might be there, I just couldn't find anything about it yet).
>
>    Frustrating.
>
>dp.
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

- Raw text -


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