Date: Thu, 14 May 1998 13:22:28 -0600 (MDT) Message-Id: <199805141922.NAA13798@kewlaid.highfiber.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: opendos AT delorie DOT com From: raster AT highfiber DOT com (Charles Dye) Subject: TMP directory Precedence: bulk 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