Minimize all programs on Windows to show the DesktopTag(s): Varia


public class Test2 {
    public static void main(String args[]) throws Exception{
      Runtime.getRuntime().exec
        (new String[] {
          "cmd.exe", 
          "/c",
          "\"" + System.getenv("APPDATA") + 
          "\\Microsoft\\Internet Explorer\\Quick Launch\\Show Desktop.scf" + "\""});
    }
  }

.scf is a special file that contains a command for the Windows Explorer.

This command file can be localized for Windows in a different language, for the french Windows, it's "Bureau.scf". It may be a good to make a copy of it under a different (and known) name and location.


blog comments powered by Disqus