On Tue, 13 Mar 2007 01:25:30 +0000, Nightowl <owl@[127.0.0.1]> wrote:
>Don Wiss wrote:
>>Due to a bug in one of my programs a folder got renamed to a name with a
>>space at the end. I can't delete, move, or rename this folder. I can move
>This solution was posted by John John a couple of weeks ago and
>succeeded where all else had failed :-)
>
>>Open Windows Explorer and navigate to the parent folder of the
>>undeletable folder. Leave the Explorer window open.
>>
>>Open a Command Prompt and type the partial command:
>>
>>RD "\\?\
>>
>>Leave the Command Prompt window open. From the opened Explorer window
>>grab the undeletable folder and drag it to the Command Prompt and drop
>>it at the end of the incomplete RD command that you typed earlier.
>>Complete the command by encapsulating it with a set of quotation marks
>>at the end of the command line. Make sure you are at the end of the
>>line, in case of trailing spaces.
>
>Some folder names, when dragged and dropped into the Command Window,
>will have quotes already around them and this may cause you to get a
>syntax error. If that happens, just try again but leave out the quote
>marks after RD and don't add an extra set at the end of the line.
Yep. It worked. And yes I had to remove the first quote that appeared after
the command above that I typed. Thanks. Now there is no way that I would
have figured this syntax out by myself!
Don <www.donwiss.com> (e-mail link at home page bottom).
|