Re: Our server hacked and tagged. MS doc's suck!

From: Mark (francesca.x_at_libero.it)
Date: 06/24/03


Date: 24 Jun 2003 05:44:34 -0700


To remove uncleanable directories I used these 2 commands (at command
prompt):

del \\.\c:\somedir\baddir /s /q /f

rmdir \\.\c:\somedir\baddir /s /q

During rmdir I received an error: a directory was in use. The solution
is simple: you have to copy the directory name, then edit your
autoexec.bat or autoexec.nt or winstart.bat etc... and put a del
<dirname> command into it, then reboot and relaunch the rmdir
(remember to remove this command after you used it).

I hope it helps :)



Relevant Pages

  • Re: How do I unlock a file ? / SOLVED !
    ... Isn't "rmdir" the command to remove a directory ??? ... Smoot Carl-Mitchell ... That overlooked "dot", a first time experience for me, and especially ...
    (Ubuntu)
  • Re: How do I unlock a file ? / SOLVED !
    ... BTW one more question: ... MythTV is a directory! ... Isn't "rmdir" the command to remove a directory ??? ...
    (Ubuntu)
  • Re: Cant delete even at the comand prompt.
    ... The former deltree command is gone, but good ol' rd (or rmdir, either way, ... It won't work on a folder unless it is empty - unless you use the /s switch, ...
    (microsoft.public.windowsxp.basics)
  • Re: delete folders with wildcards
    ... RMDIR S* ... option is not working, i think, RMDIR command does not support wildcards, ... wildcards to remove folders. ...
    (microsoft.public.windowsxp.general)
  • Re: Batch FIle help
    ... > deltree is not available with Windows XP. ... For more information about the rmdir command, ...
    (microsoft.public.windowsxp.security_admin)