Article View: comp.os.ms-windows.misc
Article #3409Windows DOS box is lying to me
From: Azmi Tenikalp
Date: Sun, 11 Dec 1994 10:32
Date: Sun, 11 Dec 1994 10:32
24 lines
1569 bytes
1569 bytes
To test for the existence of a directory from a DOS batch batch file,
I use the time honoured method of testing for the existence of NUL
in that directory, eg :
if exist dir_name\nul goto blah_blah_blah
I'm at present working on a batch file, in which the above works
perfectly well running in DOS, but when I run it in a DOS box within
Windows, it reports that the directory exists every time, whether the
directory actually exists or not.
Oddly enough, when I run the batch file in another PC, running
PC DOS 5 or something, everything works.
The PC on which it does NOT work properly has MS DOS 6.22, WfWG 3.11,
16 MB RAM, 1K environment space, and I don't know what else to think of.
Annoying, or what ...
Grateful for any help.
azmi azmi@azmi.demon.co.uk
Technical Details
Message-ID:
<787141964snz@azmi.demon.co.uk>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!demon!azmi.demon.co.uk!azmiShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1102f1,9ff9719c69a20c16,start X-Google-Attributes: gid1102f1,public X-Google-Thread: 1036bc,9ff9719c69a20c16,start X-Google-Attributes: gid1036bc,public X-Google-ArrivalTime: 1994-12-11 03:08:20 PST Newsgroups: comp.os.ms-windows.misc,demon.tech.pc From: azmi@azmi.demon.co.uk (Azmi Tenikalp) Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!demon!azmi.demon.co.uk!azmi Subject: Windows DOS box is lying to me Organization: MHL Reply-To: azmi@azmi.demon.co.uk X-Newsreader: Demon Internet Simple News v1.27 Lines: 24 X-Posting-Host: azmi.demon.co.uk Date: Sun, 11 Dec 1994 10:32:44 +0000 Message-ID: <787141964snz@azmi.demon.co.uk> Sender: usenet@demon.co.uk