2
I'm currently trying to use the del or the erase command in a RSM Telnet to delete Temp files on users computers. But the problem I'm running into with the command is that it is working, but won't delete any of the files located in the temp folder.
Command I'm using : erase c:\users\[username]\appdata\local\temp
I have used the command with the /p to prompt me, but some of these temp folders have thousands of files in them and sitting there and pressing Y and then enter endlessly is not going to work, because I have around 90 computers to clean temp files on. Is there something wrong with the command or is there a simpler command to use to delete the temp files on the computer?
Thanks
3Use the [tag:windows] and [tag:command-line] tags, not the [tag:ms-dos] tag, unless you are talking about the operating system called MS-DOS. Windows is not (based on) MS-DOS and has had nothing to do with it since 98/ME. 2000/XP were based on the Windows NT kernel! – Bob – 2012-10-26T16:20:06.210
True. And it needs to be said (same as megabit (Mb) vs megaByte (MB)). But many people confuse the cmd.exe shell with MSDOS. – Hennes – 2012-10-26T16:21:58.110