- System generated like %DATE%, %TIME%, %SYSTEMROOT%, %COMPUTERNAME%, created when Windows starts
- Local Machine specified (Same for all users ex. PATH)
- AUTOEXEX.BAT specified
- System generated like %USERNAME%, %USERDOMAIN% and %USERPROFILE% are created when user logs in
- User specified (Unique for this user)
- Command Prompt specified (Lives and dies with the command prompt)
- WinNT4 : Control Panel -> System -> Environment-tab
- Win2k/Xp : Control Panel -> System -> Advanced-tab -> Environment Variables-button
Note the environment variables will be available both in the Cmd.exe and the MS-DOS Environment Command.com.[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Control \Session Manager \Environment]
[HKEY_CURRENT_USER \Environment]
Leave a Reply