%temp%

O

onetime

I had a previous post on this subject, but perhaps didn't explain the problem
correctly because I didn't get any comments that helped solve the problem.
For some reason, even though the file is there where it is supposed to be,
the command %temp% doesn't work. When I try to install a program that uses
that command th einstallation fails.

So the question I now have is what does the symbol % mean. Where is the
path for %temp% stored and how to I correct that path so that %temp% works
correctly? Other % commands seem to function properly. I am running
WindowsXP home edition with SP3. Celeron 2.8GHz and 1.5MB RAM. I have an
80GB hard drive with 44GB available.


If I should be using a different forum I would appreciate any advice on
where I could find more information on this problem.

Thank you.
 
J

Jim

onetime said:
I had a previous post on this subject, but perhaps didn't explain the
problem
correctly because I didn't get any comments that helped solve the problem.
For some reason, even though the file is there where it is supposed to be,
the command %temp% doesn't work. When I try to install a program that
uses
that command th einstallation fails.

So the question I now have is what does the symbol % mean. Where is the
path for %temp% stored and how to I correct that path so that %temp% works
correctly? Other % commands seem to function properly. I am running
WindowsXP home edition with SP3. Celeron 2.8GHz and 1.5MB RAM. I have an
80GB hard drive with 44GB available.


If I should be using a different forum I would appreciate any advice on
where I could find more information on this problem.

Thank you.
The pair of the % symbols mean that the contents of the environmental
variable must be used.
In your case, temp is an environment variable which contains the address of
your individual temporary storage location.
This variable gets created during login to your account.

To add or change an environment variable, proceed as follows:

Open System in the control panel.
On the advanced tab, click Environment Variables
Click on the name of the environment or system variable that you wish to
change
Then select
New - create a new environment variable
Edit - correct an exisiting environment variable
Delete - remove an existing environment variable

When you inspect the temp environment variable, insure that the name is that
of an existing folder.

Environment variables are stored in the registry.

Jim
 
O

onetime

Jim

Thank you, Thank you, Thank you. I checked the user environment variables
per your instructions and found that the path for temp was listed as
'userprofile\localsettings|temp'. I corrected that to read
'userprofile\local settings\temp'. restarted and everything worked as it
should. Wonderful after two months of trying to resolve this problem.

I find, so often, that the correct answer lies in asking the right question.
The problem is in defining the proper question.

By the way, I found that I only had two user variables, %temp% and %TMP% and
they both lead to the same folder. Is this normal and is this correct>

Again, thank you. I was able to complete a failed installation right after
I made this correction, so things seem to be working properly.
 
J

Jim

onetime said:
Jim

Thank you, Thank you, Thank you. I checked the user environment variables
per your instructions and found that the path for temp was listed as
'userprofile\localsettings|temp'. I corrected that to read
'userprofile\local settings\temp'. restarted and everything worked as it
should. Wonderful after two months of trying to resolve this problem.

I find, so often, that the correct answer lies in asking the right
question.
The problem is in defining the proper question.

By the way, I found that I only had two user variables, %temp% and %TMP%
and
they both lead to the same folder. Is this normal and is this correct>

Again, thank you. I was able to complete a failed installation right
after
I made this correction, so things seem to be working properly.
Don't thank me; I found the instructions in Help & Support. I must say
though that finding such things there can be extremely tedious and
frustrating.
The other environment variables are used by other packages and for
historical reasons.
Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top