Unable to Delete a folder in windows 10

Page 1 of 2 12 LastLast

  1. Posts : 26
    Windows 10
       #1

    Unable to Delete a folder in windows 10


    Hi can someone help please
    I have 2 folders on my laptop they are left over after i deleted some other folders and when i try to delete them i get a message saying (this is no longer located in my music folder but I can see it there)

    I have been told to use the cmd but i am nervous in case i make a mistake as i am not that good with computers

    My Version is windows 10 version 2004 (OS build 19041.867)

    Regards
    Attached Thumbnails Attached Thumbnails Unable to Delete a folder in windows 10-unable-delete-file.jpg  
      My Computer


  2. Posts : 7,451
    Windows 10 Home 20H2
       #2

    Right-click on the Start button --> Windows PowerShell (Admin)
    Run the following line of commands and post the output.

    CMD /C Dir /a /b /s "D:\Music\*" /AD /ON
      My Computer


  3. Posts : 26
    Windows 10
    Thread Starter
       #3

    Matthew Wai said:
    Right-click on the Start button --> Windows PowerShell (Admin)
    Run the following line of commands and post the output.

    CMD /C Dir /a /b /s "D:\Music\*" /AD /ON

    I did as you suggested and this is the result

    Unable to Delete a folder in windows 10-unable-delete-file-2.jpg
      My Computer


  4. Posts : 4,523
    Windows 11 Pro 64-bit
       #4

    Try rename the folder and delete it.

    If that doesn't work repair NTFS file system by executing Chkdsk D: /f command.
      My Computer


  5. Posts : 26
    Windows 10
    Thread Starter
       #5

    FreeBooter said:
    Try rename the folder and delete it.

    If that doesn't work repair NTFS file system by executing Chkdsk D: /f command.
    I have already tried to rename and it will not let me

    I will try the chkdsk command
      My Computer


  6. Posts : 7,451
    Windows 10 Home 20H2
       #6

    Run the following via Windows PowerShell (Admin) and post the output.

    CMD /C RD /s /q "D:\Music\Born In The U.S.A."

    It is intended to delete the "Born In The U.S.A." folder only.
      My Computer


  7. Posts : 26
    Windows 10
    Thread Starter
       #7

    Matthew Wai said:
    Run the following via Windows PowerShell (Admin) and post the output.

    CMD /C RD /s /q "D:\Music\Born In The U.S.A."

    It is intended to delete the "Born In The U.S.A." folder only.
    I did as you suggested and i got this result

    Unable to Delete a folder in windows 10-unable-delete-file-3.jpg
      My Computer


  8. Posts : 7,451
    Windows 10 Home 20H2
       #8

    As per your screenshot, a period was missing after the letter "A" in the folder name.
      My Computer


  9. Posts : 26
    Windows 10
    Thread Starter
       #9

    Ok thanks for the advice. I will have another try tomorrow
    Is it not possible to cut and past the command
      My Computer


  10. Posts : 1,336
    Windows 10 Pro 64-bit
       #10

    Blake0202 said:
    Ok thanks for the advice. I will have another try tomorrow
    Is it not possible to cut and past the command
    It is possible.

    I just verified that command for one of my files.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:48.
Find Us




Windows 10 Forums