X-Originating-IP: [203.164.2.199] From: "Joydeep Mitra" 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 Content-Type: text/plain; format=flowed Message-ID: 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 >Reply-To: opendos AT delorie DOT com >To: >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