Hi all, the code below doesn't work. Hope someone has found a solution
out there...
Thanks!
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1102.mspx
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2030885&SiteID=1
Const TEMPORARY_INTERNET_FILES = &H20&
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(TEMPORARY_INTERNET_FILES)
Set objFolderItem = objFolder.Self
strPath = objFolderItem.Path & "\*.*"
Wscript.echo strPath
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile(strPath)