On Mon, 19 Nov 2001 15:03:42 +0000, Bastiaan Edelman wrote:

> JPG, PS and PDF are converted to BMP and following what happened in
> viewer.bat = abt mime.cfg there is a difference in executing
> : execute
> and : fastexecute
> files using execute are returning OK
> files using fastexecute are not

Ok. When arachne.bat gets executed, it very seldom (almost never) goes
all the way thru. Both execute and fastexecute go to $roura$.bat. They
don't CALL $roura$.bat, they SWITCH to it - so there is no guaranteed
return.
Files using fastexecute use a $roura$.bat ending with "arachne -c"
so the last thing that happens is arachne gets restarted.
I couldn't manage to make a file use "execute" - probably because I
have an ArachneTEMP - but I'm not sure - so I don't know what the
last line in THAT $roura$.bat would be. If it is NOT "arachne -c"
then the .bat just terminates and the calling program can continue.

> ****** viewer.bat *******
> push
> C:
> cd \arachne

> @echo            ;I changed this to see what happens
> break=on         ;I changed this to read fast echoing
> <snip>
> if not (%1) == () goto continue
> <snip>
> :continue
> core.exe %1 %2
> if errorlevel 128 goto fastexecute
> if errorlevel 64 goto execute

> :execute
> $roura$.bat
> goto err

> :fastexecute
> echo 111111111       ;included to see the flow of action
> if not (%ARACHNETEMP%)==() %ARACHNETEMP%\$roura$.bat
> echo 222222222       ;included to see the flow of action
> %TEMP%\$roura$.bat
> echo 333333333       ;included to see the flow of action
> if exist %TEMP%$roura$.bat %TEMP%$roura$.bat
> <snip>

> 11111 is echoed
> 22222 is echoed
> 33333 is not echoed => fastexecute never goes to the end of this batch
> file... so no 'pop' returning is read.
> Is there something wrong with %TEMP% ?

Apparantly %ARACHNETEMP% exists and you SWITCH to: TEMP\$roura$.bat.
Since the last line in $roura$.bat is: arachne -c, you never get to
the 33333 line.

> What is all that %TEMP% stuff for and how does it function??

You have a choice of using either TEMP or ARACHNETEMP for your
TEMP directory and ARACHNETEMP has priority (is tested first)
so you can separate your DOS\TEMP from your ARACHNE\TEMP.
You specify one (or BOTH) in your autoexec. If you want to cache
frequently used stuff in a ramdisk TEMP, set Cache2TEMP Yes.
If it is set to No, everything appears in cache on (slow) HD.

I wish I could be more help, but I need to know what the plain
execute mode $roura$.bat looks like. :((

- Clarence Verge
- Back to using Arachne V1.62 ....

Reply via email to