del /s *.* doesn't delete everything!

  • Thread starter Thread starter Jeff W
  • Start date Start date
J

Jeff W

HI - I like to keep a copy of my windows folder on disk under a
different name. It's a little recovery trick when things go bad. I
boot to dos, rename the backup to be the windows folder, and then I can
usually boot windows.

So I have a batch script that deletes the backup windows directory every
week and recreates it. In WIN98SE I used deltree /y *.* and it removed
everything.

in XP I use

del /s /q /f *.*

but it leaves a lot of files and folders behind. Is there any way to
TOTALLY delete a folder?

thanks!
/j
 
Jeff, use the XP tool - RD /S (folder name)
OR
You can still use Deltree in XP if you copy it from Win98 into the Windows\System32 folder

Jerry
 
Back
Top