Top  Previous  Next

-tempdir directory_name


Sets directory_name as the directory where TwainSave will place temporary image and other files during the acquisition process.  The directory must already exist (TwainSave will not create this directory if it does not exist).  Temporary files are removed once the file name specified with the -f option is saved successfully.


If the directory name contains spaces, the filename must use double quotes to enclose the name.



twainsave -f test.pdf -filetype pdf -tempdir "c:\my temp files"


Acquires to file test.pdf using the PDF format.  The temporary directory path is "c:\my temp files"


Default Setting:

The directory specified by the TMP or TEMP environment variable or Windows directory if TMP or TEMP is not defined in the environment.