Link to home
Start Free TrialLog in
Avatar of dlnewman70
dlnewman70

asked on

Extract Environment Variables and Values to a text file

I need to compare environment variables (specifically their values i.e. path statements) in one system compared to another. Is there any easy method that could extract environment variables and drop them into a text file so that I could compare text files from each system?
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

I would do this by typing the following at a DOS prompt.

set >settings.txt

That should create a text file named settings.txt with the info.  Let me know if you have a question about getting to a DOS prompt or need more info.

bol
ASKER CERTIFIED SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm glad I could help.  Thanks for the grade, the points and the fun question.

bol