Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporary Internet Files
Message
From
28/11/2005 10:25:05
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01070798
Message ID:
01072463
Views:
26
Hi,

I need to delete a file in the Temporary Internet Files folder, but the DELETE command don't works in this folder.

How can I do ?
lsSpecialFolderPath  = Space(255)
CSIDL_INTERNET_CACHE = 32  &&Temp. Internet Files Folder
DECLARE SHGetSpecialFolderPath IN SHELL32.DLL ;
  LONG hwndOwner, ;
  STRING @lsSpecialFolderPath, ;
  LONG  nWhichFolder
SHGetSpecialFolderPath(0, @lsSpecialFolderPath, CSIDL_INTERNET_CACHE)
lsSpecialFolderPath = Addbs(SubStr(RTrim(lsSpecialFolderPath),1,Len(RTrim(lsSpecialFolderPath))-1))
Delete File (lsSpecialFolderPath + "MyFile.exe") && The file is not deleted
>
>CSIDL_INTERNET_CACHE    =       32  &&Temp. Internet Files Folder
>
>DECLARE SHGetSpecialFolderPath IN SHELL32.DLL ;
>      LONG hwndOwner, ;
>      STRING @cSpecialFolderPath, ;
>      LONG  nWhichFolder
>SHGetSpecialFolderPath(0, @cSpecialFolderPath, CSIDL_INTERNET_CACHE)
>? SubStr(RTrim(cSpecialFolderPath),1,Len(RTrim(cSpecialFolderPath))-1)
>
>
>
>>Hi,
>>
>>
>>How can I get the "Temporary Internet Files" path ?
>>
>>Like
>>
>>C:\Documents and Settings\Administrador\Configurações locais\Temporary Internet Files
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform