If you add %APPDATA% to any user or system environment variable by using the following method, %APPDATA% may not be resolved to the appropriate user application data folder:
Problem example:
If %APPDATA% is not resolved correctly, and you try to start a program that is located in the user application folder, the program does not start because the program cannot be located in the path.
- Right-click My Computer, and then click Properties.
- On the Advanced tab, click Environment Variables.
- Add a new user or system environment variable named PATH. Set the Variable value entry to %APPDATA%.
- Apply the settings.
Problem example:
C:\ >set PATHWorking example:
PATH=%APPDATA%
C:\ >set PATH
PATH="C:\Documents and Settings\<UserName>\Application"
If %APPDATA% is not resolved correctly, and you try to start a program that is located in the user application folder, the program does not start because the program cannot be located in the path.