LOCALAPPDATA is one of the new environment variables included in Windows Vista, which points to the folder that stores the data for local (non-roaming) applications. To access the folder, run the command %LOCALAPPDATA% from Start, Search box in Windows Vista. This variable does not exist in earlier Windows Operating Systems. If you access this folder frequently in your Windows XP system, you may add the LOCALAPPDATA variable using the steps below.
Note: Alternately, you can open the Local Application Data folder in Windows XP and Windows Vista by running the command shell:Local AppData.
Add LOCALAPPDATA variable in Windows XP
Right-click on the My Computer icon and choose Properties
Click Advanced
Click Environment Variables
Under User variables section, click New
In the Variable name: field, type LOCALAPPDATA
In the Variable value: field, type %USERPROFILE%\Local Settings\Application Data

Click OK, OK, OK to close the dialog boxes.
The LOCALAPPDATA environment variable is now added. See if you can access the Local Application Data folder by running the command %LOCALAPPDATA% from Start, Run dialog. You can use this environment variable in Scripts and Batch files, as well.
Editor’s note: You can add or remove environment variables from command-line using Setx.exe, a Windows 2000 Resource Kit tool.
Bookmark this Page!
BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |
Related Posts
- How to Create a System Repair Disk in Windows 7 and Vista
- How to Clear IE8 Last Browsing Session History Using CCleaner
- “Open With” Window Appears When Opening Command Prompt
- How to Reset the Games Statistics Files in Windows 7
- Restore the Missing userinit.exe File
- How to Create a BartPE Bootable CD Using PE Builder
- Remove Misspelled Words From the Custom Dictionary in Windows Mail
- Quickly Clear the Google Chrome Cache Using Script
- Access Is Denied When Opening a Particular File Type?
- WhoCrashed: Free Crash Dump Analyzer for Windows
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?

› 
Thank you. Just what I needed.
A shame this environment variable was first added in Windows Vista and later.
Very nice tip, i use this for edit my UserChrome.css in localalldata\mozilla\firefox\profiles
Thanks a lot.