🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3916

Re: overcoming the MSDOS errorlevel problem

#3916
From: Charles Dye
Date: Tue, 26 Dec 1995 00:00
22 lines
1583 bytes
In article <30d260e6.16907452@news.iquest.net> rclark@iquest.net (Robert B. Clark) writes:
>From: rclark@iquest.net (Robert B. Clark)
>Subject: Re: overcoming the MSDOS errorlevel problem
>Date: Sat, 16 Dec 1995 06:08:58 GMT

>John Savage <koala@sydney.dialix.com.au> wrote:

>>Amongst the myriad shortcomings of MSDOS we must include the pair:
>>
>>  *  FIND does not return an errorlevel to confirm a match
>>  *  COPY does not copy a file of length 0

>Actually, FIND does return an errorlevel in MS-DOS v6 or later:

>        0       At least one match was found.
>        1       No matches were found.
>        2       An error occurred during the search.

As for COPY, well, it's more intuitive than PIP.  IBM was also disappointed
with COPY; which is why we have XCOPY.  Try it.

raster@indirect.com
Technical Details
Message-ID: <raster.54.0015B2EF@indirect.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4aou3r$h7o$1@sydney.DIALix.oz.au> <30d260e6.16907452@news.iquest.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d683,b04f11c9c214bbc0
X-Google-Attributes: gid10d683,public
X-Google-Thread: f53ba,b04f11c9c214bbc0
X-Google-Attributes: gidf53ba,public
X-Google-Thread: 104805,b04f11c9c214bbc0
X-Google-Attributes: gid104805,public
X-Google-Thread: f71eb,b04f11c9c214bbc0
X-Google-Attributes: gidf71eb,public
From: raster@indirect.com (Charles Dye)
Subject: Re: overcoming the MSDOS errorlevel problem
Date: 1995/12/26
Message-ID: <raster.54.0015B2EF@indirect.com>
X-Deja-AN: 122857092
references: <4aou3r$h7o$1@sydney.DIALix.oz.au> <30d260e6.16907452@news.iquest.net>
organization: Metro ComputerWorld
newsgroups: comp.os.msdos.misc,alt.msdos.batch,comp.sys.ibm.pc.misc,aus.computers.ibm-pc