Read Environment Variables in Autoexec.bat File (Windows NT/2000/XP)

When this value is enabled the variables declared in the Autoexec.bat file will be parsed and included in the current user environment.

1.Open your registry and find or create the key below.

2.Create a new String value, or modify the existing value, called "ParseAutoexec" and set it according to the value data below.

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Registry Settings
User Key : [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name : ParseAutoexec
Data Type : REG_SZ (String Value)
Value Data : (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.