I have the following script to list all the files in my temporary Internet files folder. For some reason, it is not giving me any files at all. Help?
strFolder = "C:\Documents and Settings\MyloginName\Local
Settings\Temporary Internet Files"
Set objFSO = CreateObject("Scripting.Fi
leSystemOb
ject")
Set objFolder = objFSO.GetFolder(strFolder
)
Set colFiles = objFolder.Files
For Each objFile In colFiles
WScript.Echo objFile.Path
next
Start Free Trial