What is a way for a novice user to retreive the environment variables on an XP machine?

I need to ask a user to do this but it needs to be very simple and easy to copy into an email.


Is better use SET on CMD to get all enviroiment variable. PATH only returns you PATH variable not all variables in the enviroment.


I guess you could put this in a batch file and have them just double-click it.

@echo off
set > paths.txt

Then have the user email the paths.txt to you.

  • Too difficult for a novice user. They won't want to use the command prompt. – CJ7 Jun 15 '12 at 6:39
  • Put that in a batch file then? – VenkatH Jun 15 '12 at 6:42
  • I have to advise over the phone. – CJ7 Jun 15 '12 at 6:45
  • why not exchange mails instead? I'm sure both parties will be attentive to incoming mails. – WikiWitz Jun 15 '12 at 6:47
  • Host the batch script online, so they can download it and run it on their own computer? – iglvzx Jun 15 '12 at 6:48

I would suggest getting information from GUI thing is much easier and simple as getting it from command-prompt or batch file for a novice user.

Whenever I want to check my environment variables by:

  1. Press Window key + R >
  2. Type SystemPropertiesAdvanced.exe and Press Enter
  3. It opens up a window which has Environment Variables button, Click it, or Press Alt+n

It will open up the dialog that gives information about all Environment variables.

  • Will that work for XP? – CJ7 Jun 15 '12 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.