Folder - Delete from Command Prompt

Page 11 of 11 FirstFirst ... 91011

  1. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #100

    Greg83704 said:
    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 Computer


  2. Posts : 2
    Windows 7 Home Premium 64 bit
       #101

    Inability to delete folder



    I gothrough that process...click start, user name, Libraries, Pictures,properties...click 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 Computer


  3. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #102

    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 Computer


  4. Posts : 17
    Windows 7 Ultimate; SP1
       #103

    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
    Code:
    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 Computer


  5. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #104

    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 Computer


 
Page 11 of 11 FirstFirst ... 91011

  Related Discussions
Our Sites
Site Links
About 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:51.
Find Us