Hans-Juergen,
In the cited example, Jan already had a ram disk set up, so it already had a
root directory, but not a temp directory. Therefore, when she set the
environmental variable, temp, by:
SET TEMP=D:\
it set "temp" to point to the root directory. Apparently Arachne likes a
directory with the name, "TEMP" or a directory other than the root directory.
Her next statement,
IF NOT DIREXIST %TEMP% MD %TEMP%
did nothing as the root directory of a drive will always exist. The only
time this statement would be active would be if the drive did not exist,
but "MD" could not create a drive. My suggestion merely created a "TEMP"
directory on the ram disk without using the "temp" environmental variable if
a "temp" directory did not exist.
I do not know how Arachne cleans out the temporary directory when it exits
the program, whether it is of the form, "del [drive:][\dir] *.*" or the form,
"del [drive]:[\dir] *.tmp" or whether it keeps track of which files it
creates for temporary use and deletes them individually or if it uses some
other technique. In any case, I think that it is good practice to have a
separate directory, "TEMP", or "TMP" for temporary files rather than put the
files in some directory that may have some important files that you would not
want deleted or overwritten.
Whatever your situation was, I am glad that my suggestion also served as a
solution for you, too.
Roger Turk
Tucson, Arizona USA
Hans-Juergen wrote:
>>Hi Roger,
you wrote on 15.01.00 to "Re: Arachne Email Inbox problem":
RT> SET TEMP=D:\ <----Change this to: SET
RT> TEMP=D:\TEMP
RT> IF NOT DIREXIST %TEMP% MD %TEMP% <----Change this to:
RT> IF NOT DIREXIST D:\TEMP MD D:\TEMP
RT> Hope this helps.
It helped with my "Inbox problem", too - thanks! ;-)
But nevertheless, it seems to be a bug with inbox.dgi, because the
other *.dgi in Insight do work with a Temp variable set to D:\
instead of D:\TEMP, and they have to create their index files, too...
Hans-Juergen<<