For those who really, really want to skip the zipping step altogether, there
is another workaround. You have to pay the price, though, of bearing the guilt
of having to fool Yarn by a fake .zip file name.
The trick is to edit three lines in file %HOME%\yarn\config and replace
pkzip and pkunzip with two batch files:
replace these lines:
reply-packet=j:\y\r.zip (original replies zip file)
compress=c:\dos\pkzip -m %f %d\*.* (original locations of zip programs)
uncompress=c:\dos\pkunzip -o %f %d
with these:
reply-packet=j:\rep\r.zip
# any chosen directory; make sure it exists and is empty)
compress=j:\zz.bat %f %d
uncompress=j:\uu.bat %f %d
# can be any names on any path
Now write J:\ZZ.BAT and J:\UU.BAT
(replace paths and filenames with actual ones throughout):
ZZ.BAT:
==============================
if .%1==j:\rep\r.zip goto rep
c:\dos\pkzip -m %1 %2\*.*
goto end
:rep
move %2\*.* j:\rep
ren j:\rep\replies r.zip
:end
UU.BAT:
==============================
if .%1==.j:\rep\r.zip goto rep
c:\dos\pkunzip -o %1 %2
goto end
:rep
if not exist j:\rep\r.zip quit
copy j:\rep\*.* %2
ren %2\r.zip replies
:end
I suspect you can even skip the copying part, further saving disk
access, by leaving *.MSG and REPLIES in %home%\replies, but I haven't
tested this, and there might be other complications.
--- Chaoyang Liao