Attempting to run a C# build with the command line compiler in a ClearCase VOB. CSC tries to place many .tmp files on the VOB root, which is read-only. This cannot be changed. Is there a way to tell CSC.exe to place these tmp file elsewhere?
Loading
Eric FriedlPosted Nov 19, 2009, 12:45 PM
The SET command returned C:\ for both Variables. By looking at msinfo32.exe, I see many entries for both TEMP and TMP!
TEMP %SystemRoot%\TEMP
TEMP %USERPROFILE%\Local Settings\Temp NT AUTHORITY\SYSTEM
TEMP %USERPROFILE%\Local Settings\Temp NT AUTHORITY\LOCAL SERVICE
TEMP %USERPROFILE%\Local Settings\Temp NT AUTHORITY\NETWORK SERVICE
TEMP %USERPROFILE%\Local Settings\Temp EDGE\clearcase_albd
TEMP %USERPROFILE%\Local Settings\Temp EDGE\EFriedl
TEMP %USERPROFILE%\Local Settings\Temp EFRIEDL-DT\ASPNET
TMP %SystemRoot%\TEMP
TMP %USERPROFILE%\Local Settings\Temp NT AUTHORITY\SYSTEM
TMP %USERPROFILE%\Local Settings\Temp NT AUTHORITY\LOCAL SERVICE
TMP %USERPROFILE%\Local Settings\Temp NT AUTHORITY\NETWORK SERVICE
TMP %USERPROFILE%\Local Settings\Temp EDGE\clearcase_albd
TMP %USERPROFILE%\Local Settings\Temp EDGE\EFriedl
TMP %USERPROFILE%\Local Settings\Temp EFRIEDL-DT\ASPNET
Either one should divert away from my VOB (A:). Apparently, CSC doesn't care about these variables.
Sam HobbsPosted Nov 19, 2009, 12:26 PM
To modify temporary variables, go to Control Panel | System and then click on Advanced System Settings. Then in the Advanced tab click on the Environment Variables button at the lower right.