martindev
30th July 2009 15:28 UTC
Set TEMP dir from command line
Hello.
I want intall a HL2 MOD Stargate : The Last Stand and it is using NSIS installter.
But installter extract files to disk C: in Temp. But I have low space on C.
How can i change temp dir into D:/Temp from command line ?
For example : D:\>sgtls_beta11_full.exe -TEMP D:/Temp/
Sorry my english.
Thanks for answering.
Afrow UK
30th July 2009 15:52 UTC
The TEMP environment variable can be changed in My Computer > Properties > Advanced > Environment Variables. Make sure you put the value back to the way it was when you're done.
Stu
martindev
30th July 2009 16:25 UTC
I change it but instater extract files in C:
BTW: Iam using Windows Vista Ultimate x64 SP1 legal
MSG
30th July 2009 16:38 UTC
Maybe you need to reboot before the new environment variable is used? Just guessing here.
Anders
30th July 2009 16:53 UTC
[win]+[r] cmd.exe[enter]
set tmp=x:\[enter]
set temp=x:\[enter]
c:\somepath\mysetup.exe[enter]