How to export Environment variables to a text file
Solution 1:
Using the set
at the command prompt will list all of your environment variables. So, you can just pipe the output of the set
command to a file, like this:
set > "\path\to\file.txt"
Using the set
at the command prompt will list all of your environment variables. So, you can just pipe the output of the set
command to a file, like this:
set > "\path\to\file.txt"