Discussion:
Files created in C:\Documents and Settings\userid\Local Settings\Temp\ even though tmpdir set in INI file
(too old to reply)
Premise03
2008-08-11 13:10:07 UTC
Permalink
Forum,
 
Using LV 8.5 and despite setting tmpdir in my built EXE's ini file, there are still files being created in my PC's default temp folder C:\Documents and Settings\userid\Local Settings\Temp\.  The files are:
BMD Client_8.5_userid_cur.txt
nixEA.tmp
lvsEB.tmp
lvsEC.tmp
lvsED.tmp
lvtl278595612.rsc
 
After the EXE is shut down, the only file remaining is
BMD Client_8.5_userid_cur.txt
 
Why is the tmpdir INI file setting ignored?
 
Chris Roth
Karunya_R
2008-08-13 00:40:21 UTC
Permalink
Hi Chris, What is the setting in your ini file? (the command itself?)Do you have an example that I can test with my system?Thanks!
Premise03
2008-08-14 13:10:04 UTC
Permalink
Karunya,

I added tmpdir="C:\Program Files\Premise\BMD Client 4.0.1\temp" to my EXEs INI file. I then restarted the EXE and the files I mentioned were still being written to C:\Documents and Settings\userid\Local Settings\Temp.

No example. This happened with LabVIEW 8.5 as well. That is, going to Tools>>Options>>Paths and setting the Temporary Directory to something other than the default. Then restarting LabVIEW. Saw the addition of tmpdir in the LabVIEW.ini file, but no apparent effect to LabVIEW itself.

Chris Roth
Karunya_R
2008-08-15 21:10:06 UTC
Permalink
Hi Chris, I was able to you replicate your issue about the temporary directory not getting changed. I appreciate your feedback on this. This was reported to R&D 123239 for further investigation.   Thanks! 
Loading...