appdata

How to get the %AppData% folder in C?

As above, how do I get the AppData folder in Windows using C? I know that for C# you use Environment.SpecialFolder.ApplicationData ...

JavaScript: Retrieving the %APPDIR% Path

Is it possible to retrieve the path of %APPDIR% (in Windows XP: C:\Documents and Settings\UserName\Application Data) in JavaScript? The solution must be supported by Internet Explorer 6. Background: I want to provide the user with a link to a certain directory beneath %APPDIR%. I first tried <a href="%APPDIR%\MyFolder\"> or <a href="fi...

What are the default APPDATA directories each version of Windows?

Is there a list of default APPDATA directories each version of Windows? (XP & up) I need to know the default directory each OS will return for the following call: SHGetSpecialFolderLocation( NULL, CSIDL_APPDATA|CSIDL_FLAG_CREATE , &pidl ); ...