When converting to html, wvWare places temporary files (work files, not images) in the disk root,
f.i. with the following command line:
"C:\wv\wvware.exe" -x wvHtml.xml -d "C:\TEMP\wv" "C:\DataIn\SomeDoc.DOC" >
"C:\DataOut\SomeDoc.htm"
Temporary files end up in "c:\" (files with names like 's23.1', 's2s.1', etc.).
When running wvware from "d:\wv\" f.i., files end up in "d:\"
A lot of temporary files are created there during conversion, most are deleted
at the end, but not all of them (and when wvWare hangs, none are deleted
of course).
Images (PNG etc.) are correctly placed in the specified directory (-d option honoured).
I attempted to specify the temp directory via the following environment variables:
TMP
TMPDIR
TEMP
TEMPDIR
to no avail.
How do you specify the temporary files directory?
Logged In: YES
user_id=217802
Wvware creates names of temporary files by means
of 'tmpnam', which is part of the liberty library provided
with Mingw (GCC for MS-Windows). The directory prefix is
given by _P_tmpdir which is defined in stdio.h as '\', and
so temporary files are created in the root.
I will try to find a solution, in any case for the next
release of Wv.