Michael wrote:
>In DR-DOS, del *.* asks for confirmation, while *.??? not. So I got
>confused :-(
>
>Somene please try echo y|del *.* in all versions of DOS - I will try with
>DR-DOS...
I've (just now) sent you a BATch file that will work as expected, there are
three errors in the original:
1. Asks for confirmation
2. %3 is the same as %2 (core.exe problem)
3. Will loop if %3 is changed to actually point to the temp directory
With changes to mime.c and with my modified clr.bat things should work
better, since others might be interested in it here it is:
@echo off
rem usage: clrcache.bat (cache.idx) (cache path) (TEMP path) (filemask)
rem I guess those "DOS forever!" freaks among Arachne users will like this ;)
if exist %1 del %1
for %%d in (%2*.*) do del %%d
for %%d in (%2headers\*.*) do del %%d
attrib +r %3$roura$.bat
for %%d in (%3*.*) do del %%d
attrib -r %3$roura$.bat
Until Michael releases a new version of Arachne (which IMHO should be very
soon - this is even worse than the APM.EXE problem we had earlier) change
%3 to %temp% (or perhaps %arachnetemp% if you have it set - I haven't
tested if that's correct).
Also mime.c should be changed so that core.exe sets the attributes on the
BATch file - thereby it should work with any DOS version (that's supported,
>= 3.something).
I still don't know if 4DOS will work with this, can someone confirm/deny
that 4DOS can be set to always ask?
//Bernie
http://bernie.arachne.cz/ DOS programs, Star Wars ...