Re: Can't get a directory to delete from command prompt
From: Phil Robyn [MVP] (zipprobyn_at_berkeley.edu)
Date: 03/26/04
- Next message: Michael Bednarek: "Re: find and remove duplicate files"
- Previous message: COC: "Can't get a directory to delete from command prompt"
- In reply to: COC: "Can't get a directory to delete from command prompt"
- Next in thread: Paul R. Sadowski: "Re: Can't get a directory to delete from command prompt"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Mar 2004 23:53:06 -0800
COC wrote:
> I run Windows 2000 Server Professional. Over a year ago,
> I needed to do a restore of system files due to a virus.
> I inadvertantly started to restore the system files to a
> new directory (created during the restore). The original
> restore was aborted and a subsequent restore was
> successful to the root drive, and the system works fine.
>
> Now when I try to delete the unwanted directory, it says
> that some of the files in it may be in use, and won't let
> me. (To the best of my knowledge, the directory is empty,
> unless there is a hidden file in there. But in the view
> of the directory, I set it to show all files hidden or
> not, and none show up.) So I booted into a safe mode and
> tried again. Same thing, would not let me delete it. So
> I booted into a command prompt mode. (Not sure this is
> really a DOS mode or not, a true DOS mode option was not
> given in the boot process.) So now, when I try to delete
> the directory from a command line, it says that I have a
> bad syntax.
>
> The name of the directory is:
>
> p:\Restore 1-10-2003
>
> Exactly that, with the spaces, dashes, etc.
>
> So I try to delete the directory as follows:
>
> p:\rd Restore 1-10-2003, also tried p:\rmdir Restore 1-10-
> 2003, and finally tried p:\deltree Restore 1-10-2003
>
> But then it comes up with the syntax error each time, or
> can't find specified file. I can path to the directory
> and open it, and it shows nothing inside, so DOS does
> recognize it with certain commands.
>
> Any ideas how I can delete this directory?
>
> Thanks
>
>
>
rd "p:\Restore 1-10-2003"
-- Phil Robyn Univ. of California, Berkeley u n z i p m y a d d r e s s t o s e n d e - m a i l
- Next message: Michael Bednarek: "Re: find and remove duplicate files"
- Previous message: COC: "Can't get a directory to delete from command prompt"
- In reply to: COC: "Can't get a directory to delete from command prompt"
- Next in thread: Paul R. Sadowski: "Re: Can't get a directory to delete from command prompt"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|