21 Feb 2010
Accessing "Application Data" in Windows 7.
Application Data is an environment variable that is programmatically set. If you open a command prompt and type set, you will then see all of the environment variables that are available to you. Application Data is represented by the environment variable %appdata%. In Windows 2K/XP/2003 it pointed to c:\documents and settings\%username%\application data. In Vista and Windows 7, it now points to c:\users\%username%\appdata\roaming. If you ever need to refer to the Application Data directory, just type %appdata% in the Run dialog box, the Start menu search box, or at the command prompt. Also, if you are looking to use it in a batch file or a script, you definitely want to make use of the environment variable. Go to the Control Panel,Tools, and select Folder options>view>show hidden files, folders and drives and select the box.
|My System Specs || |