1.

Solve : Batch Desktop Command?

Answer» <html><body><p>Hey. I was wondering if anyone knows a batch script that will show your <a href="https://interviewquestions.tuteehub.com/tag/desktop-949558" style="font-weight:bold;" target="_blank" title="Click to know more about DESKTOP">DESKTOP</a> and minimize all programs. Thanks in advance for <a href="https://interviewquestions.tuteehub.com/tag/anyones-2436475" style="font-weight:bold;" target="_blank" title="Click to know more about ANYONES">ANYONES</a> helpFor batch code normally <em>rundll32</em> can be helpful, but I had zero luck. This short little snippet will minimize all the open windows:<br/><br/> Code: <a>[Select]</a>Set objShell = CreateObject("Shell.Application")<br/>objShell.MinimizeAll<br/><br/>In case you're wondering, this little snippet will undo the previous script:<br/><br/> Code: <a>[Select]</a>Set objShell = CreateObject("Shell.Application")<br/>objShell.UndoMinimizeALL<br/><br/>Save each script separately with a <strong>vbs</strong> extension. They can be run from the command <a href="https://interviewquestions.tuteehub.com/tag/line-239358" style="font-weight:bold;" target="_blank" title="Click to know more about LINE">LINE</a> as: <strong>cscript <em>scriptname.vbs</em></strong> or they can be run in Windows as:  <strong><a href="https://interviewquestions.tuteehub.com/tag/wscript" style="font-weight:bold;" target="_blank" title="Click to know more about WSCRIPT">WSCRIPT</a> <em>scriptname.vbs</em></strong><br/><br/>Good luck.  Thank you very much for your help. It works fine.</p></body></html>


Discussion

No Comment Found