MSasu Posted April 28, 2010 Posted April 28, 2010 Does someone know from where is AutoLISP listing the value of TEMPPREFIX system variable? It is supposed that it bear the location of Windows temporarily folder but if change the value of TEMP and TMP user variables (Control Panel --> System Properties --> Environment Variables --> User variables) this remain unaffected. This become a very bad issue when try to use the Temp folder to communicate between applications – the Environ function in Visual Basic for example is listing the right location (the same case in other languages). Is there other solution in AutoLISP to list the folder that is currently listed in Windows as temporarily files location? Thank you! Regards, Quote
Lee Mac Posted April 28, 2010 Posted April 28, 2010 As for your question Msasu, Do these work better for you? (getenv "Temp") (getenv "TMP") Quote
MSasu Posted April 28, 2010 Author Posted April 28, 2010 Yes, it works like this. Thank you very much! Will have to make sure from now that avoid usage of TEMPPREFIX system variable due to this issue… Regards, Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.