You are not logged in.
Pages: 1
Hello everyone.
I would list all files in the Temporary Internet Files folder with WMI.
Set colItemdir = objWMIService.ExecQuery("SELECT * FROM CIM_DataFile where path='\\Documents and Settings\\CurrentUser\\Impostazioni locali\\Temporary Internet Files\\')
For Each objItemdir in colItemdir
wscript.echo objItemdir.filesize
Next
Works with all folders except the one set.
Why?
It 's a special folder?
Thanks
Offline
The files in the folder specified, are contained in subfolders. So my script was partially correct. I had to use a recursive query to happen and the individual subfolders.
Offline
Pages: 1