EvilZone

Hacking and Security => Hacking and Security => : Corrupted_Fear January 19, 2013, 12:14:37 AM

: Win 8 show/hide desktop icons
: Corrupted_Fear January 19, 2013, 12:14:37 AM
So I have a win 8 computer (not my main one, my other is ubuntu/backtrack/win 7 dual boot) that I use for gaming and high graphics requirement stuff. I have a few icons on the desktop, but I like it clean. I know you can right click and go to view, then show/hide desktop icons, but that is painfully slow. There has got to be a way that I can write a quick batch script and assign it to a hotkey to make it a much faster process. I figured they key is buried deep down in the registry, but I'm not sure exactly where or how exactly to change it through a batch file. Last time I went into the registry changing stuff it didn't turn out well, so any suggestions on how to solve the above problem?
: Re: Win 8 show/hide desktop icons
: Phage January 19, 2013, 03:22:51 PM
Just found this by a fast Google search.

Not a binded key I know but it works.
http://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-turn-the-desktop-icons-on-or-off/ (http://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-turn-the-desktop-icons-on-or-off/)

This batch script should do the job for you, but use it at your own risk. I can't guarantee that it will work.
http://stackoverflow.com/questions/8770407/batch-script-for-hiding-desktop-icons
: Re: Win 8 show/hide desktop icons
: Corrupted_Fear January 19, 2013, 05:28:33 PM
Yup, saw the first one, didn't work on win 8 for some reason. The second one though, I will have to look at and tweak to work. I saw another batch file program that looked like it changed a reg file and then restarted explorer.exe, which sounds horribly inefficient, but this script looks it modifies the args for each individual file. Sure some more coding involved, but seems like fun to me. Thanks! :)

Edit: the batch script seems to be throwing up an error "<attrib not expected at this time" (even though "<attrib" isn't specifically in the code). I may try working with python, I imagine something would be possible with the multitude of libs available and error messages that actually tell you what is wrong