On Sat, 27 Jan 2001 19:23:40 -0500, Clarence Verge wrote:
> Glenn McCorkle wrote:
>> On Sat, 27 Jan 2001 21:59:58 +0100 (CET), Bernie <[EMAIL PROTECTED]>
> wrote:
>> > Clarence wrote:
>> >> In what version of DOS did "DIREXIST" become a valid testable condition ?
>> > That will only work in OpenDOS 7.x AFAIK.
>> Close....
>> This feature first came-to-be in DR-DOS v6.0
> Why don't you guys use a method that works in standard DOSs ?
> At least then joe average can get some use out of the suggestions.<G>
> If not exist [putdirname+pathhere]\nul MD [putdirname+pathhere]
To me... OpenDos *is* "standard". ;-)
Why don't you dump that "non-standard" Dos that you're using ??? ;-)
But seriously, I like that line.
I wonder if this will work in autoexec.bat
set temp=c:\temp
if not exist %temp%\nul md %temp%
_________
Test succeeded (in OpenDos v7.01)
Does it work in your "non-standard" Dos ? ;-)
--
Glenn
(your friendly neighborhood compu-nerd)
http://arachne.cz/
http://www.delorie.com/listserv/mime/
http://freedos-32.sourceforge.net/