You might get hung up on the spaces that would be in the command. Try this:
erase "C:\Documents and Settings\Administrator\Local Settings\Temp"
Additional reply after asker contacted me and said that was a folder name, not a file name. Here is the additional info:
Well, that would not have erased the folder anyway. The way you wrote the question, you made it sound like that was the name of the file. The following will delete all files in that folder:
erase "C:\Documents and Settings\Administrator\Local Settings\Temp\*.*"
If you do not want to be prompted to ask whether you really want to delete the files, then use this:
erase "C:\Documents and Settings\Administrator\Local Settings\Temp\*.*" /q
If you also want to delete the files in any subdirectories in that folder then you can use:
erase "C:\Documents and Settings\Administrator\Local Settings\Temp\*.*" /s
If you want both parameters, then you can do that too:
erase "C:\Documents and Settings\Administrator\Local Settings\Temp\*.*" /q /s
This will not remove the subdirectories, just the files in them. You need to do RMDIR for each directory to do that.