>>>Hi all,
>>>
>>>I am looking for the way to get the location where temporary internet resources are stored.
>>>
>>
>>Since different browsers might use different locations, and these folders are not System Folders, I don't believe you'll find a way to query the OS for this.
>
>Yes you can and i definitely need it for our html prototyping software (it creates lots of temp resources):)
>
>WINSHELLAPI HRESULT WINAPI SHGetSpeciailFolderLocation ....
>where a param is CSIDL_INTERNET_CACHE
>
Save yourself some headaches - use the Wscript.Shell's SpecialFolders collection to grab a different CSIDL - do not use the Internet cache address. It's easier to use, less subject to restriction, and is less OS version sensitive. Use the user-assigned TEMP folder - that's what it's there for, or build yourself a working directory beneath your application directory.