Mail Archives: opendos/1998/05/14/15:25:35
Matthias DOT Paul AT post DOT rwth-aachen DOT de writes:
>> SET TEMP=C:\DRDOS
>Tz, please avoid using such directories as trash/junk directory... ;-)
>
> MD C:\TMP
> SET TEMP=C:\TMP
> SET TMP=%TEMP%
Odd related fact: the DR DOS setup program creates a subdirectory
\DRDOS\TMP but does not add the relevant variables to AUTOEXEC.BAT.
Hmmmm.
To prevent the error message from being displayed, I usually do:
IF NOT DIREXIST C:\TEMP MD C:\TEMP
(MS-DOS doesn't support the DIREXIST condition, so you'd have to
test for the NUL device instead if you wanted compatibility with
both.)
raster AT highfiber DOT com
- Raw text -