Support Forums
[Batch] Trick - View Environment Variables - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Computer Support Topics (https://www.supportforums.net/forumdisplay.php?fid=4)
+---- Forum: Microsoft Support (https://www.supportforums.net/forumdisplay.php?fid=5)
+---- Thread: [Batch] Trick - View Environment Variables (/showthread.php?tid=26214)



[Batch] Trick - View Environment Variables - AceInfinity - 05-05-2012

I was fooling around with batch and found a cool way to display a list of environment variables. Works as well for the script's session variables, so you can easily see what they contain as well.

Code:
@echo off & cls & set %x% & pause