Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Folder - Delete from Command Prompt

07 Oct 2015   #90
basilthacker

Windows 8 64 bit
 
 

I created the folder to hold some pictures I took. Right after I put the pictures into the folder, I tried to rename it and ran into the problems about not having permission. I moved the pictures to another folder (Which I was able to rename so I don't believe it was the pictures' fault) and tried to delete the folder. That's when I came here.

I just tried renaming it again. For some reason it worked. I renamed to "please go away" (without the quotes). I was then able to delete it without any problem. I have no clue why it let me rename it this time; I have tried at least two other times to rename this empty folder.


My System SpecsSystem Spec
.
07 Oct 2015   #91
MLBFalcon

Windows 7 Home Premium 64 bit
 
 

Yes, I did use the correct full path. I also used elevated.
My System SpecsSystem Spec
07 Oct 2015   #92
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by basilthacker View Post
I created the folder to hold some pictures I took. Right after I put the pictures into the folder, I tried to rename it and ran into the problems about not having permission. I moved the pictures to another folder (Which I was able to rename so I don't believe it was the pictures' fault) and tried to delete the folder. That's when I came here.

I just tried renaming it again. For some reason it worked. I renamed to "please go away" (without the quotes). I was then able to delete it without any problem. I have no clue why it let me rename it this time; I have tried at least two other times to rename this empty folder.
Great news.
My System SpecsSystem Spec
07 Oct 2015   #93
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by MLBFalcon View Post
Yes, I did use the correct full path. I also used elevated.
Please go ahead and post a screenshot showing what's in the command prompt to see if it may reveal anything.
My System SpecsSystem Spec
.

10 Oct 2015   #94
MLBFalcon

Windows 7 Home Premium 64 bit
 
 

uh how do i do that? cause you know im new to this.
My System SpecsSystem Spec
10 Oct 2015   #95
Brink

64-bit Windows 10 Pro
 
 

My System SpecsSystem Spec
01 Feb 2016   #96
tapuz

windows 8.1 pro
 
 

Quote   Quote: Originally Posted by Pyprohly View Post
Well I hope you know what a batch file is, Englishbob, because you are going to create the following batch file --
Code:
rd /s /q \\?\%1
Drag this undeletable folder of yours onto the batch file, then delete the batch file.
had the same problem, i would get a folder not found error, i gave up about a month ago.
a friend of mine just had the same problem, and i figured i'll try to find a solution, read through this entire thread, nothing worked, except for the above solution. and wala the folder disappeared, i have tried other forums, and nothing, should have known, no-one compares to windows forum

thank you very much "Pyprohly"
My System SpecsSystem Spec
07 Mar 2016   #97
SigmaMX

WIn 7 Ultimate 64bts
 
 

Hey Guys

Just found your website!! And I need a hand with my problem:

I had Win7 Ulti 64bits installed on a HDD and recently I acquired a SDD and installed anew the OS.

Now I have the HDD slaved and there are several folders I just CANT delete.

Ive tried everything: Manual delete, Secure mode, Hardwipe software and CMD deleting and only few files are left. Everytime I want to delete them Im told I dont have permissions but my user is the administrator.

Can you please tell me how to permanently delete those files? they all are old win files and they weight a lot.

Thanks in advance!!

Sigma
My System SpecsSystem Spec
07 Mar 2016   #98
Brink

64-bit Windows 10 Pro
 
 

Hello Sigma, and welcome to Ten Forums.

If you like, the free program Unlocker may be able to help you delete them.

Unlocker Download
My System SpecsSystem Spec
07 Mar 2016   #99
Greg83704

Windows 7 Home Premium 64 bit
 
 
Removing an unwanted file folder

I have tried this several ways...and it doesn't work for me. I have an unwanted folder under Libraries, Pictures, My Pictures that I can't get rid of. I'd be happy to let you work with me on TeamViewer or VNC if you want to look at it. Greg
My System SpecsSystem Spec
Reply

 Folder - Delete from Command Prompt




Thread Tools




Similar help and support threads
Thread Forum
Cannot delete custom font, access denied in elevated command prompt.
Hello, I'm trying to install the font family Clementine. It should include a regular, italic, bold italic, and expanded regular (which is like bold italic with slightly different spacing). I thought I had installed it already, but only two of them were showing up. I forget which two. I...
General Discussion
File - Delete from Command Prompt
How to Delete a File in Windows from the Command Prompt This tutorial will show you how to permanently delete a File in Vista, Windows 7, or Windows 8 using the DEL or ERASE command from within a command prompt. This can be handy if you cannot delete the file normally.While you can run...
Tutorials
How do I Close an opened folder in Run or at the Command prompt
I have an application that opens a folder using a shell to Explorer. I can close Most apps I shell using Taskkill but not the opened folder. I have tried Openfiles with no luck ( I think it is for networks). I need this to tidy up an application. Thank you.
General Discussion
double clicking a folder opens a command prompt
dear sir, till yesterday. it was ok. since today morning, this problem appears. when i double click a folder to open it, it asks for permission to open with windows command processor. if i click on yes, a command prompt appears and commands keep on scrolling. if i right click on the folder, then...
General Discussion
File and Folder - Rename from Command Prompt
How to Rename a File and Folder from the Command Prompt This will show you how to rename a file and folder using the REN or RENAME command from within a command prompt. This can be handy if you cannot rename the file or folder normally. Normally you would just right click on the file or...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:09.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App