How To Guides Org

Tricky: Hide All Desktop Icons Via Command Line With 1 Click

A lot of people write batch scripts to optimize and customize their PC’s and the integrated features. For example, with the following tips you can hide desktop icons via command line and then put it all in a batch script

Using The Command Attrib

Actually, you will only need to add the +h attribute, but while you’re at it you can also make them read-only, archive files and system files – this will make sure they don’t get deleted easily and you can always undo that by simply changing the + sign to a – sign – simple!

You can now put this into a .bat file and add it to your taskbar and then launch it whenever needed. Then you should make a 2nd batch script to unhide the files. This is a lot faster than clicking on Desktop – Uncheck Show Icons