On Wed, 18 Oct 2000, Bernie <[EMAIL PROTECTED]> wrote :
> Michael wrote:
>> Arachne will check for presence of COMMAND.COM or presence of string DOS
>> or WINDOWS in %TEMP% string in next release, and temporary directory
>> path will additionaly displayed in setup wizard screens. But I
>> consider Unix's /tmp directory, which is always present in filesystem, to
>> be much better idea.
> I still suggest that Arachne creates a directory in %temp% and remove it
> upon exit. That way very few will have a problem (how many have a directory
> called arachne.tmp in the temp directory?). Especially since you get back
> to /tmp - you shouldn't remove all files here either - only those that
> belong to you. Since not all OS have the ability to mark ownership the
> easiest sollution would be to simply make a new directory.
I agree. As I mentioned a few months ago, I don't think this is a
difficult problem to correct. Just create a subdirectory under the
directory the temp variable points to and let Arachne use the
subdirectory as its TEMP directory. The Arachne.BAT could be
modified to do this...
So if TEMP points to C:\DOS (as it is stupidly assigned in MSDOS 5
and PCDOS 2000), Arachne creates a subdirectory ARACHNE and sets
ARACHNETEMP=%TEMP%.\ARACHNE
and Arachne only uses ARACHNETEMP only.
BTW, note the %TEMP%.\ARACHNE used instead of %TEMP%\ARACHNE
Here why from the Batfiles website at http://bigfoot.com/~batfiles
6. Use %temp%.\ (case is irrelevant) to represent the temp variable.
The temp variable can be set with or without a backslash, ie.
c:\temp or c:\temp\, which can be problematic when using the
variable in a batfile. Using temp%.\ will refer correctly to the
temp directory whether it has been set with a backslash or not. This
method can be used with any variable whose value is set to a directory.
(This tip could also be used with DGIs as well. I remember on the
Arachne list that there was some worry on whether TEMP should
be C:\TEMP or C:\TEMP\ )
Dev Teelucksingh
[EMAIL PROTECTED]
Interesting DOS programs at http://www.opus.co.tt/dave
Trinidad and Tobago Computer Society at http://www.ttcsweb.org
-- This mail was written by user of Arachne, WWW browser for DOS --
-- the Ultimate Internet Client --