D deostroll Aug 20, 2007 #1 Is there a command prompt equivalent for closing, minimizing, or maximizing all winodws (running programs)? --deostroll
Is there a command prompt equivalent for closing, minimizing, or maximizing all winodws (running programs)? --deostroll
K Kelly Aug 20, 2007 #2 Sub Main Dim Result As Integer StartApplication "cmd" Window SetContext, "Caption=C:\WINNT\system32\cmd.exe", "" ' Here is missing a line of code End Sub To complete the script, insert one of the following lines where it is missing. To Minimize the window: Window WMinimize, "Caption=C:\WINNT\System32\CMD.EXE", "" To Maximize the window: Window WMaximize, "Caption=C:\WINNT\System32\CMD.EXE", "" To Close the window: Window CloseWin, "Caption=C:\WINNT\System32\CMD.EXE", "" http://www-1.ibm.com/support/docview.wss?uid=swg21129984 CMDOW - http://www.commandline.co.uk/cmdow/ -- All the Best, Kelly (MS-MVP/DTS&XP) Taskbar Repair Tool Plus! http://www.kellys-korner-xp.com/taskbarplus!.htm
Sub Main Dim Result As Integer StartApplication "cmd" Window SetContext, "Caption=C:\WINNT\system32\cmd.exe", "" ' Here is missing a line of code End Sub To complete the script, insert one of the following lines where it is missing. To Minimize the window: Window WMinimize, "Caption=C:\WINNT\System32\CMD.EXE", "" To Maximize the window: Window WMaximize, "Caption=C:\WINNT\System32\CMD.EXE", "" To Close the window: Window CloseWin, "Caption=C:\WINNT\System32\CMD.EXE", "" http://www-1.ibm.com/support/docview.wss?uid=swg21129984 CMDOW - http://www.commandline.co.uk/cmdow/ -- All the Best, Kelly (MS-MVP/DTS&XP) Taskbar Repair Tool Plus! http://www.kellys-korner-xp.com/taskbarplus!.htm