Saved Bookmarks
| 1. |
Solve : Hide Command Prompt? |
|
Answer» I am working on a batch file that echos a message to the user (amongst other things). Is there a way to make the command prompt window disappear or minimze and then REAPPEAR later in the script? Is there a way to make the command prompt window disappear or minimze and then reappear later in the script? You could use CMDOW for this Cmdow is a Win32 commandline UTILITY for NT4/2000/XP/2003 that allows windows to be listed, moved, resized, renamed, hidden/unhidden, disabled/enabled, MINIMIZED, maximized, restored, activated/inactivated, closed, killed and more. http://www.commandline.co.uk/cmdow/ unzip & place cmdow.exe on your PATH. Make a batch file minimize its own window: Assumes the title is unique Code: [Select]TITLE MinimizeMePlease FOR /F %%A IN ('CMDOW ˆ¦ FIND "MinimizeMePlease"') DO CMDOW %%A /MIN make it come back as it was before (restore) Assumes the title is still the same Code: [Select]FOR /F %%A IN ('CMDOW ˆ¦ FIND "MinimizeMePlease"') DO CMDOW %%A /RES Quote Also, is there a way for the command prompt window to open up without the Close, Minimze/Maximize buttons? There is a program called Wintopmost that disables the close button, but it COSTS $642 for a site license, I'm checking out if there are any free alternatives I did come across this but I'm not sure why I didn't take it. Any way to do it from within the command prompt? I'll have to try CMDOW. Thanks.Quote from: powlaz on May 31, 2007, 01:30:54 PM Any way to do it from within the command prompt? Code: [Select]TITLE MinimizeMePlease cmdow "MinimizeMePlease" /minIf you mean, without any external or additional programs, it is rather DIFFICULT, hence the profusion of little programs to do the job, such as another free one, Window.exe, available from http://www.steve.org.uk/Software/windowhide/ |
|