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 Mar 2016   #100

64-bit Windows 10 Pro

Quote   Quote: Originally Posted by Greg83704 View Post
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
Hello Greg, and welcome to Seven Forums. :)

Since this is in a library, are you able to use the method in the tutorial below to remove the folder?

Library - Remove a Included Folder

My System SpecsSystem Spec
07 Mar 2016   #101

Windows 7 Home Premium 64 bit
Inability to delete folder

I gothrough that start, user name, Libraries, Pictures, on include folder...I see the "includedfolder"...highlight it, click remove. It goes away in the box...hitOK...close everything. Check Windows Explorer and the empty folder isstill there...tried using elevated command prompt with RD /S /Q "C:\Users\Greg\Appdata\Roaming\Microsoft\Windows\Libraries\Pictures\My Pictures\2015_06_23"and it says it can't find the file path. So I don't know what I'm doingwrong. Greg

My System SpecsSystem Spec
07 Mar 2016   #102

64-bit Windows 10 Pro

In that case see if restoring the default libraries may toggle the ghost folder to be gone afterwards.

Libraries - Restore Default

If not, then see if creating a new folder with the same name at the location that is displayed in the library to see if you may be able to remove it from the library afterwards.
My System SpecsSystem Spec
21 Apr 2018   #103

Windows 7 Ultimate; SP1

can it permanently delete (like Shift+del) a folder with further filled folder inside?
i.e;C:\Program Files\iPod , C:\Program Files\iPod\bin which contains two files
So with
RD /S /Q "C:\Program Files\iPod"
will I be able to achieve my goal?
I wanted to automate removal of that folder after all iTunes upgrades with a script. How can I do this using a script? which format do I use for script? Open notepad, copy code, then save it as CMD or BAT?
My System SpecsSystem Spec

21 Apr 2018   #104

64-bit Windows 10 Pro

Hello, :)

Yes, you could copy that command into Notepad and save it as a .bat file. You could then use "Run as administrator" on the .bat file whenever you wanted to delete that folder.
My System SpecsSystem Spec

 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...
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...

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 04:18.
Twitter Facebook Google+