Space in TEMP environment variables

Microsoft Windows xp professional w/serv...
May 12, 2010 at 02:38:37
Specs: Windows XP
Hi All

I posted an issue before here;

Looking further into the issue I have decided to open up a new post to reflect my latest findings;

The issue we have is on our base image for our Lenovo models.

The issue affects the way some installers (EXE) use the TEMP or TMP user environmental variable (EV). They seem to be stumbling on the fact the variable has a space in it for the "Local Settings" part. When I tried a different location I used a variable that by co-incidence did not contain any spaces and it worked.

I have tried many different ways of altering the EV for TEMP and TMP, such as using quotes etc, but nothing will work. It usually results with the installer exclaming an "Internal Error" if I use quote marks. Changing the temp folder to something outside of "Local Settings" to get rid of the 'space' will work but this shouldn't have to be done. It works fine on our default local administrator user account, but not on any other domain or local account so there must be a global setting that isn't being carried over or is missing. The variables are set up the same way on our HP image, and I believe the default XP way.

I will keep investigating. If anyone has any further thoughts or ideas then please share.

Many thanks.

See More: Space in TEMP environment variables

Report •

May 12, 2010 at 05:01:26
The default setting for the users temp folder on an XP machine is:

%USERPROFILE%\Local Settings\Temp

And this normally works.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!

Report •

May 12, 2010 at 05:08:47
Yes, this is the setting, which is the same for the default administrator account, and also for all other users.

But.... for all other users, most EXE installers that extract and run files to that folder fail to work. If I change that variable to say...


Then the EXE installer will work fine..

So there must be something specific to these EXE installers and this image of Windows XP.

Report •

Related Solutions

Ask Question