Article View: comp.os.msdos.programmer
Article #1918testing for a dir
From: Ted Cantrall
Date: Fri, 17 Aug 1990 19:06
Date: Fri, 17 Aug 1990 19:06
16 lines
1226 bytes
1226 bytes
A while back, someone posted a hint the you could test for the presents of a particular directory (EG "junk") using the syntax : IF EXIST \JUNK\NUL GOTO xxxx assuming that JUNK is off hte root dir. THE PROBLEM: This method works on our '286 and XT, but not on the '386. On the '386, the "file" NUL is found even if the directory is not there. Anyone know if this "nul" trick is BIOS dependant? DOS versions: XT=3.00 '286=3.30 '386=3.30 Can someone help us?? -ted- ------------------------------------------------------------------------------- ted@helios.ucsc.edu | "If I get any phone calls while I'm gone, (408)459-2110 | just don't answer them." -------------------------------------------------------------------------------
Technical Details
Message-ID:
<6120@darkstar.ucsc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!agate!darkstar!helios!tedShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!agate!darkstar!helios!ted From: ted@helios.ucsc.edu (Ted Cantrall) Newsgroups: comp.os.msdos.programmer Subject: testing for a dir Message-ID: <6120@darkstar.ucsc.edu> Date: 17 Aug 90 19:06:13 GMT Sender: usenet@darkstar.ucsc.edu Reply-To: ted@helios.ucsc.edu (Ted Cantrall) Distribution: na Organization: UCO/Lick Observatory, Santa Cruz Lines: 16