The environment window displays the Windows environment used when debugging the batch file in the active edit window.
The environment variables window displays any variables changed since the last command in red. You can specify variables to exclude from the environment variable window with the DebugVariableExclude variable. For example, to suppress the display of the processor and user variables:
set DebugVariableExclude=proc*;user*
Note that this option doesn't affect the existence of the variables, just whether they're displayed in the environment variable window.
The environment window has a toolbar, with the following buttons:
New | Restore the original values for the environment |
Open | Add the contents of a file to the environment |
Save | Save the current environment to a file |
Apply | Replace the original values with the modified environment |
Print the current environment |
Cut | Copy the highlighted selection to the clipboard and delete it from the environment |
Copy | Copy the highlighted selection to the clipboard |
Paste | Copy the contents of the clipboard to the current cursor location |
Delete | Delete the highlighted selection (or the character at the cursor location if no selection) |
Undo | Undo the last edit |
Redo | Restore the last Undo |
Find | Search for text |
Help | Display the online help |