ExifTool Forum

ExifTool => Install Problems => Topic started by: StanBrown on October 25, 2010, 06:30:15 AM

Title: 12 MB in temp folder -- any way to relocate
Post by: StanBrown on October 25, 2010, 06:30:15 AM
First, thanks for making this tol available for free.

I'm using the stand-alone version in Windows 7, 64-bit.  I have a batch file that purges my temp folder at login, after displaying the contents to me so that nothing important gets lost. And you see the problem: it's almost 1000 files to look at in par-USER and its subfolders.

Is there any way to have ExifTool place those files elsewhere?  I looked in the config file, but that didn't seem to be an option.
Title: Re: 12 MB in temp folder -- any way to relocate
Post by: Phil Harvey on October 25, 2010, 07:30:05 AM
You should be able to specify where the temporary files get written through the use of environment variables.  ExifTool uses the PAR packager, and the PAR environment variables are documented here (http://search.cpan.org/~smueller/PAR-1.002/lib/PAR/Environment.pod).  It looks like the one you want to set is PAR_GLOBAL_TEMP.

- Phil
Title: Re: 12 MB in temp folder -- any way to relocate
Post by: StanBrown on October 25, 2010, 09:45:12 PM
Yes, that worked a treat.  Thanks!