🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.misc
Article #3420

Re: Windows DOS box is lying to me

#3420
From: Tim Bierman
Date: Tue, 13 Dec 1994 14:28
17 lines
1430 bytes
In article <787319035snz@cdsl.demon.co.uk>
           peter@cdsl.demon.co.uk "Peter Hayward" writes:

>    The above method does not work for CD-ROM drives and I suspect certain,
>    but not all, networked drives (as you have found).  Hopefully the
>    solution is
>
>          if exist dirname\*.* goto .......
>
>    which should work for all directories as they contain '.' and '..' even
>    when empty. ...

Don't think so. In DOS 5 at least, "IF EXIST" only looks for files, not
directories. The above line will fail for an empty directory.

--
Tim
Technical Details
Message-ID: <787328884snz@bierman.demon.co.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!demon!betanews.demon.co.uk!bierman.demon.co.uk!tim
References: <787141964snz@azmi.demon.co.uk> <787224072snz@azmi.demon.co.uk> <787319035snz@cdsl.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1102f1,9ff9719c69a20c16
X-Google-Attributes: gid1102f1,public
X-Google-Thread: 1036bc,9ff9719c69a20c16
X-Google-Attributes: gid1036bc,public
X-Google-ArrivalTime: 1994-12-13 07:59:15 PST
Newsgroups: comp.os.ms-windows.misc,demon.tech.pc
From: tim@bierman.demon.co.uk (Tim Bierman)
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!demon!betanews.demon.co.uk!bierman.demon.co.uk!tim
Subject: Re: Windows DOS box is lying to me
References: <787141964snz@azmi.demon.co.uk> <787224072snz@azmi.demon.co.uk> <787319035snz@cdsl.demon.co.uk>
Organization: -
Reply-To: tim@bierman.demon.co.uk
X-Newsreader: Demon Internet Simple News v1.29
Lines: 17
X-Posting-Host: bierman.demon.co.uk
Date: Tue, 13 Dec 1994 14:28:04 +0000
Message-ID: <787328884snz@bierman.demon.co.uk>
Sender: usenet@demon.co.uk