• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
  • post a message
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
All in One HP
Microsoft Windows 11

Tried cmd to delete empty desktop folder, no luck. Downloaded a program to do it, no luck. Cannot get rid of folder with 0 bytes in it. Any ideas would be grateful to get it done. Searched internet to help but nothing worked.

1 REPLY 1
HP Recommended

@Intoxcy8me

Thank you for posting on HP Support Community.

 
Don't worry as I'll be glad to help,  

  • Please ensure that you are logged in as the administrator.
  • I suggest you to click and select a particular folder you want to delete and then press the Shift+Del keys on the keyboard.

Another option to delete the folders is by doing the following:

  • Open and elevated command prompt and:
  • Use the del command to delete undeletable files: del “Path of File”
  • Use the RMDIR or RD command to delete undeletable folders: rd /s /q “Path of Folder”
  • /S : Delete all files and subfolders in addition to the folder itself. Use this to remove an entire folder tree.
  • /Q : Quiet – do not display Y/N confirmation

Hope this helps! Keep me posted for further assistance.
Please click “
Accept as Solution” if you feel my post solved your issue, it will help others find the solution.

ECHO_LAKE
I am an HP Employee

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.