On Sun, 23 Sep 2001 16:54:11 +0000, Thomas Tabler wrote:
> Dear List:
> As stated earlier, Arachne does not work too well with non-
> standard hard drives, certain modems including Winmodems, and so
> forth. Apart from my modem which seems to be designed for a laptop,
> my hard drive parameters caused a problem with using clearcache.dgi
> at all on my extended "D" partition. This is rather unusual, I know,
> but do any know a way around this problem. I uncommented all reference
> to a TEMP directory in my Autoexec.bat, so I feel problem is hopeless.
> I now depend on simply using dosshell.dgi and then go to the appropriate
> directory and del *.* as some others have suggested. Is there another
> way?
> Yours,
> Thomas/"tomstfor"
Here's the easiest "fix" I think of.
---current j:\arachne\system\dgi\clr.bat ---
@echo off
rem This file has been rewritten; the previous program would delete everything
rem in the main Arachne directory if any of the values passed was blank.
rem Usage: clrcache.dgi (cache.idx) (cache path) (TEMP path) (filemask)
rem Cache path or TEMP path MUST NOT be the same as Arachne installation dir.!
if not "%1"=="" if exist %1 del %1
if exist %3$roura$.BAT copy %3$roura$.BAT bat.tmp>NUL
if not "%2"=="" for %%f in (%2*.*) do del %%f
if not "%2"=="" for %%f in (%2headers\*.*) do del %%f
if not "%3"=="" for %%f in (%3*.*) do del %%f
if exist bat.tmp copy bat.tmp %3$roura$.BAT>NUL
if exist bat.tmp del bat.tmp
__________________________________________
--- "fixed" j:\arachne\system\dgi\bat ---
@echo off
rem This file has been rewritten to use "absolute paths"
rem this example is for an installation of arachne in j:\arachne
rem the arachne "cache dir" as j:\arachne\cache
rem and a "TEMP dir" set to d:\temp
copy d:\temp\arachne.tmp\$roura$.BAT j:\arachne\bat.tmp>NUL
for %%f in (j:\arachne\cache\*.*) do del %%f
for %%f in (j:\arachne\cache\headers\*.*) do del %%f
for %%f in (d:\temp\*.*) do del %%f
copy j:\arachne\bat.tmp d:\temp\arachne.tmp\$roura$.BAT>NUL
del j:\arachne\bat.tmp
_______________________________________
--
Glenn
http://arachne.cz/
http://freedos-32.sourceforge.net/
http://www.delorie.com/listserv/mime/
http://www.angelfire.com/id/glenndoom/download.htm