Jump to content

Windows Environment Variables


Recommended Posts

Ok, I feel stupid even asking this question but I havent messed with window's environment variables much.

I want to set a variable to open a folder, just like the TEMP variable works.

For my variable name I am using RECENT and the value is C:\documents and settings\administrator\recent

I have rebooted my PC and this variable does not work. Error message says windows cant find file.

What am I doing wrong?

P.S. I am setting the variable by right-clicking My Computer, properties, advanced, Enviroment variables

Link to comment
Share on other sites

i take it then that your user name is administrator - as you have typed it above will effect the variable for the administrator's recent folder. You need to put your user name in place of the administator's.

Link to comment
Share on other sites

have you set this as a system variable or a user variable?

i get the feeling you need to set it as a system variable.

I am setting it as a user variable. I think I tried setting it as a system variable and it still did not work. But I should be able to set it as a user variable anyways.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy