On Mar 14, 10:24 pm, Nils Maier <[EMAIL PROTECTED]> wrote: > vijay wrote: > > Could anybody help me find anXPCOMalias for Windows AllUsers/ > >ApplicationDatafolder? > > There are some ways to get "special > folders":http://developer.mozilla.org/en/docs/Code_snippets:File_I/O#Getting_s... > Furthermore there are some OS specific Folders as > well:http://mxr.mozilla.org/mozilla/source/xpcom/io/nsDirectoryServiceDefs... > But I never tried those myself, and I don't see "Common AppData" there... > > You may use the Windows API itself if you're developing in > C++:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shel...http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shel... > > CSIDL_COMMON_APPDATA is supported from Win2k/WinME IIRC. > Furthermore regular user accounts (in Windows Context) may not write to > that folder IIRC. > So be cautious.
Thanks!!! I infact had already found those links but didn't find anything useful. I am not using C++. I am actually using Javascript. _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
