WARNING: DO NOT TYPE IN THE CODE FROM CHARLES ABOVE. IT WILL DELETE ALL YOUR FILES.
I was having trouble deleting the 'Temporary Files' from my W10 laptop (cleaning up possibly corrupted temp files causing some issues after cloning my OS drive). This is not about Temporary Internet Files, those were cleaned up fine.
Disk Cleanup could see there's Temporary Files but doesn't delete them, so I thought I should use Charles' instructions to get rid of them.
In the Command Prompt I pasted and executed his instruction : del /q/f/s %TEMP%\ *
It deleted ABSOLUTELY EVERYTHING that was data and non-OS from my C drive. Unbelievable!
All the folder structures are still there... but the programs and data are all gone. I don't know how this could happen, but dear lord, be careful.
Charles, do you have ny thoughts as to why this happened?
Luckily I recently cloned the drive, so I'll recover everything, but what a mess! Perhaps put some warnings on this so before some other poor person (without backups) follows your instructions.
edit: These are the instructions from Charles "Copy and paste with the right mouse button this command: del /q/f/s %TEMP%\ * + Enter, execute the process and see if the amount of files or space occupied decreases."
- Is the issue here with the asterisk at the end of your command?