🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows DOS box is lying to me

#3416
From: Malcolm Murphy
Date: Mon, 12 Dec 1994 13:59
22 lines
1879 bytes
In article <787224072snz@azmi.demon.co.uk>, Azmi Tenikalp wrote:
:>      The DOS batchfile test for the existence of a directory, 

:>           if exist dir_name\nul goto blah_blah_blah

:>      fails to work properly ONLY on one machine, and ONLY when run
:>      in a DOS session within Windows - it reports the existence of 
:>      the directory, whether this is true or not.

:> The method is legitimate; I and many others have used it for years; 
:> I have referred to the Garbo FAQs, and the method is used there 
:> identically.  

I don't know if anyone here uses GTeX, but the MakeTeXP.bat batch file
distributed with that version of dvips has a comment to the effect that
there is a bug in WfWg 3.11 -- \<path>\null exists even if <path> does
not exist.  Does this help?

--
Malcolm Murphy                         email: Malcolm.Murphy@bristol.ac.uk

    --   Sorry, I couldn't think of anything witty to go here   --
Technical Details
Message-ID: <D0pAus.HD7@info.bris.ac.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!lyra.csx.cam.ac.uk!warwick!bsmail!kingdom!MurphyM
References: <787141964snz@azmi.demon.co.uk> <787224072snz@azmi.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036bc,9ff9719c69a20c16
X-Google-Attributes: gid1036bc,public
X-Google-Thread: 1102f1,9ff9719c69a20c16
X-Google-Attributes: gid1102f1,public
X-Google-ArrivalTime: 1994-12-12 06:05:57 PST
Newsgroups: comp.os.ms-windows.misc,demon.tech.pc
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!lyra.csx.cam.ac.uk!warwick!bsmail!kingdom!MurphyM
From: MurphyM@kingdom.maths.bris.ac.uk (Malcolm Murphy)
Subject: Re: Windows DOS box is lying to me
Message-ID: <D0pAus.HD7@info.bris.ac.uk>
Followup-To: comp.os.ms-windows.misc,demon.tech.pc
Sender: usenet@info.bris.ac.uk (Usenet news owner)
Nntp-Posting-Host: kingdom.maths.bris.ac.uk
Reply-To: Malcolm.Murphy@bristol.ac.uk
Organization: Bristol University, UK.
X-Newsreader: TIN [version 1.2 PL2]
References: <787141964snz@azmi.demon.co.uk> <787224072snz@azmi.demon.co.uk>
Date: Mon, 12 Dec 1994 13:59:16 GMT
Lines: 22