What line in a batch file would delete the contents of
C:\Users\MyName\AppData\Local\Microsoft\Windows\Temporary Internet Files\ ?
del /F /S /Q /A "C:\Users\MyName\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*" fails, so does
del "C:\Users\MyName\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*" /q
System Manufacturer/Model Number Custom OS Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1 CPU Intel(R) Pentium(R) CPU P6100 @ 2.00GHz Motherboard Acer Aspire 5733Z Graphics Card Intel(R) HD Graphics (Pentium) Sound Card Onboard Screen Resolution 1366 x 768
Keyboard Compaq Mouse Logitech Case Cooler Master CM690 II Advanced Black Steel ATX Mid Tower Cooling Fans Hard Drives TOSHIBA MK5059GSXP 500GB Internet Speed Horrible...Still Other Info Perfect for gaming hehe
System Manufacturer/Model Number Custom OS Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1 CPU Intel(R) Pentium(R) CPU P6100 @ 2.00GHz Motherboard Acer Aspire 5733Z Graphics Card Intel(R) HD Graphics (Pentium) Sound Card Onboard Screen Resolution 1366 x 768
Keyboard Compaq Mouse Logitech Case Cooler Master CM690 II Advanced Black Steel ATX Mid Tower Cooling Fans Hard Drives TOSHIBA MK5059GSXP 500GB Internet Speed Horrible...Still Other Info Perfect for gaming hehe
If you open an admin cmd prompt window and type in your command - you will be told that index.dat is in use. You will even see that there are folders that will show in the cmd prompt but do not usually show in windows file explorer.
System Manufacturer/Model Number Employer provided Dell E6430 OS W7 Pro SP1 64bit CPU i5 3320M @ 2.6GHz Motherboard 0CPWYR Memory 4GB Graphics Card Intel HD Graphics 4000 Screen Resolution 1600 x 900
Hard Drives 119GB LITEONIT SSD Antivirus Employer mandated Symantec Endpoint Protection Browser Firefox, IE9 & IE8 via VM
I am not clear what the implication is from your information. Index.dat does not show as a content item in MY TIF folder.
It may be relevant to point out that there is NO difficulty opening that folder, selecting all the contents and deleting them. The problem arises when I try to use code to do it.
Last edited by Sebastian42; 05 Aug 2012 at 03:54 AM..
Reason: add more information
The path that you are using is not a real path. It is one of the many places where Microsoft shows you info that is not really located in that folder structure. Also, there are real folders and files under the "TIF" folder that you do not normally see via the Windows file explorer. My suggestion is to not mess with them:
System Manufacturer/Model Number Employer provided Dell E6430 OS W7 Pro SP1 64bit CPU i5 3320M @ 2.6GHz Motherboard 0CPWYR Memory 4GB Graphics Card Intel HD Graphics 4000 Screen Resolution 1600 x 900
Hard Drives 119GB LITEONIT SSD Antivirus Employer mandated Symantec Endpoint Protection Browser Firefox, IE9 & IE8 via VM
Thanks for that advice. My only interest in deleting the files in TIF arises from the advice I was given to do that in order to solve a problem in Windows Live Mail.
System Manufacturer/Model Number Employer provided Dell E6430 OS W7 Pro SP1 64bit CPU i5 3320M @ 2.6GHz Motherboard 0CPWYR Memory 4GB Graphics Card Intel HD Graphics 4000 Screen Resolution 1600 x 900
Hard Drives 119GB LITEONIT SSD Antivirus Employer mandated Symantec Endpoint Protection Browser Firefox, IE9 & IE8 via VM