For the past month, I've been writing batch files to remove all the temp files from a PC.
I started with Win-11, then Win-10, then Win-8.1 and all was well. The batch files worked, and all the temp folders were cleaned.
Then I tried basically the same thing with Win-7, Ultimate/x86 and a simple line to delete the temporary internet files from Firefox, fell dead, with an answer "File not Found" or something like that.
And that was with 5,110 temp files in the folder. And yes, I checked the path name, double checked it and triple checked it. No go. But when I accessed the same folder in Windows Explorer, there were the files, and I could easily delete them manually. And I did.
Other simple batch commands, like, "Del /f/s/q C:\*.tmp" work just fine.
So, being out of ideas myself, here I am. Looking for fresh ideas.
TM
I started with Win-11, then Win-10, then Win-8.1 and all was well. The batch files worked, and all the temp folders were cleaned.
Then I tried basically the same thing with Win-7, Ultimate/x86 and a simple line to delete the temporary internet files from Firefox, fell dead, with an answer "File not Found" or something like that.
And that was with 5,110 temp files in the folder. And yes, I checked the path name, double checked it and triple checked it. No go. But when I accessed the same folder in Windows Explorer, there were the files, and I could easily delete them manually. And I did.
Other simple batch commands, like, "Del /f/s/q C:\*.tmp" work just fine.
So, being out of ideas myself, here I am. Looking for fresh ideas.
TM
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Various
- OS
- Win 7 Pro, SP1, x86, Win-11/Pro/64
- CPU
- AMD
- Motherboard
- Various
- Memory
- 8GB Crucial
- Graphics Card(s)
- Various
- Sound Card
- OnBoard
- Monitor(s) Displays
- Acer 21.5"
- Hard Drives
- Crucial SSD, 500 GB
- PSU
- OEM
- Case
- SFF Slim Line Case
- Cooling
- OEM
- Keyboard
- eMachines
- Mouse
- Logitech Wireless
- Internet Speed
- varies
- Antivirus
- Windows Defender/Super Anti-Spyware
- Browser
- Firefox