Skip to content
⌘ NSIS Forum Archive

Set TEMP dir from command line

5 posts

martindev#

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#
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#
I change it but instater extract files in C:
BTW: Iam using Windows Vista Ultimate x64 SP1 legal