Unable to rename, move or delete folder

W

Wesley Vogel

Peter,

You have access to about all of the tools and methods that there are to get
rid of that folder.

You need to start from scratch again, you may have overlooked something or
done something incorrectly.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
P

Peter Wilkins

You did put quotes around the folder name, didn't you? :)

Yep. It's pretty obvious if you don't - it treats each part of the
file name separated by a space as a separate file.

I'm going to do what Wes suggests, go back to square one, work through
each of the options in the KB article, and see what happens.
Thanks again for your perseverance.
Peter
 
J

John John

Peter said:
Yep. It's pretty obvious if you don't - it treats each part of the
file name separated by a space as a separate file.

I'm going to do what Wes suggests, go back to square one, work through
each of the options in the KB article, and see what happens.
Thanks again for your perseverance.

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.

John
 
P

Peter Wilkins

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.

John


John, thank you very, very much!
It didn't work the first time I tried it: gave me an incorrect syntax
message, presumably because of a double set of quotes.
I noticed when I dragged the folder name across that it came complete
with quotes, and with the embuggering trailing space inside the end
quote.
So I tried again just typing RD \\?\ (ie without the " after the RD)
and relied on the quotes that came with the folder name and Bingo!
That folder is gone gone gone!

I had tried that method before, but had manually typed in the folder
name - I didn't realise I could drag & drop it - I had tried Ctrl
C/Ctrl V but that didn't work in the command prompt box. I guess I
must have typed the folder name incorrectly.

Thanks to everyone who helped, your altruism knows no bounds and my
faith in human nature is boosted. Aren't the User Groups wonderful!

Regards
Peter
 
P

Peter Wilkins

Peter,

You have access to about all of the tools and methods that there are to get
rid of that folder.

You need to start from scratch again, you may have overlooked something or
done something incorrectly.

Hi Wesley,
John John had the solution - it's all fixed now - see my response to
his post for the little twist I needed to make it work.

Thanks for your help.
 
J

John John

Peter said:
John, thank you very, very much!
It didn't work the first time I tried it: gave me an incorrect syntax
message, presumably because of a double set of quotes.
I noticed when I dragged the folder name across that it came complete
with quotes, and with the embuggering trailing space inside the end
quote.
So I tried again just typing RD \\?\ (ie without the " after the RD)
and relied on the quotes that came with the folder name and Bingo!
That folder is gone gone gone!

I had tried that method before, but had manually typed in the folder
name - I didn't realise I could drag & drop it - I had tried Ctrl
C/Ctrl V but that didn't work in the command prompt box. I guess I
must have typed the folder name incorrectly.

Thanks to everyone who helped, your altruism knows no bounds and my
faith in human nature is boosted. Aren't the User Groups wonderful!

You're welcome, glad to see you finally got rid of the folder! Thanks
for letting us know the outcome.

John
 
W

Wesley Vogel

Good call, John.

RD not del. Duh.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
J

John John

It was easy after you did all the footwork and eliminated just about
everything else... ;-)

John
 
W

Wesley Vogel

"Once you eliminate the impossible, whatever remains, no matter how
improbable, must be the truth." Sherlock Holmes :)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top