Link to home
Start Free TrialLog in
Avatar of Danny Child
Danny ChildFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Can I minimize all open windows from DOS?

hi,
anyone seen any ways to minimize all or Show Desktop from DOS?  I've checked the Show Desktop icon properties out, but it doesn't seem to relate to a specific app, so I think it must be some form of internal command.  

this needs to be on all open apps, so START /MIN won't help...
ta.
Danny
ASKER CERTIFIED SOLUTION
Avatar of Michael Pfister
Michael Pfister
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Danny Child

ASKER

cheers guys.
the vbs worked like a dream, and was the first answer, so I went for that one.
the scf was something that I'd never seen before - it worked tho.

I poked about in the scf file, which contained
[Shell]
Command=2
[Taskbar]
Command=ToggleDesktop
when I opened it with notepad.  Any probs with doing this, rather than creating it with the Echo, or are you just being OldSkool, Steve?!?

it also triggered a windows security warning - fixable?
No problem using notepad. I'm old school and like creating it on the fly :)
Steve, I've never seen this ".scf"-stuff. Do you have a link for some more informations on it? Thanks!

And, thanks for the points, dabch99
I just looked at the shortcut button to see how it worked. I tried to find more information on this feature but could only come up with this:

http://support.microsoft.com/?kbid=190355
Steve, thanks for the link ...