Support Forums

Full Version: [Batch] Trick - View Environment Variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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