Read Environment Variables in Autoexec.bat File (Windows NT/2000/XP) Category: Home > Tips and Tricks > Configuration Files > AUTOEXEC.BAT
When this value is enabled the variables declared in the Autoexec.bat file will be parsed and included in the current user environment.
Open your registry and find the key below.
Create a new String value, or modify the existing value called 'ParseAutoexec' using the settings below.
Exit your registry, you may need to restart or log out of Windows for the change to take effect.
 |  |  |  |  |
 |  | (Default) | REG_SZ | (value not set) |  |
 |  | ParseAutoexec | REG_SZ | "0" |  |
 |
 | HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon |  |
 |
Settings: |
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
Name: ParseAutoexec
Type: REG_SZ (String Value)
Value: (0 = disabled, 1 = enabled)
|
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Last Modified: May 27, 2002
|