Per said:
Ritchie,
I'm a bit confused by what you call 'name of window'.
What I want to do is to avoid getting BAT file (DOS) windows thrown up on
the Desktop.
The file causing these windows is called RUNFBB.BAT, a copy of which is
enclosed this message.
Should I include the command cmdow.exe in this BAT file in order to subdue
these windows - and, if so, where?
Greetings,
Per.
Hi Per,
read the help of cmdow:
C:\> cmdow /?
CMDOW [Version 1.4.2] Win32 Commandline Window Utility for NT4/W2K/XP.
(C) Copyright 2001-2002 Ritchie Lawrence,
http://www.commandline.co.uk.
CMDOW [window | /T] [/B] [/F] [/P]
CMDOW /TH | /TV | /MA | /CW | /UW | /AT | /FS | /WM
CMDOW window {[/ACT] [/INA] [/ENA] [/DIS] [/VIS] [/HID] [/MIN] [/MAX]
[/RES] [/TOP] [/NOT] [/REN caption] [/MOV left top]
[/SIZ width height] [/CLS] [/END]}
CMDOW /RUN [state] file [args]
window List specified window (if omitted, all windows are listed).
/T List windows only shown on the taskbar.
/B List windows using bare format (no heading information).
/F List windows showing full information (don't truncate any fields).
/P List windows showing position and size (left,top,width + height).
/TH Tile windows horizontally. /TV Tile windows vertically.
/MA Minimize all windows. /CW Cascade windows.
/UW Undo tile/minimize/cascade. /AT Intelligent [Alt]-[Tab]
/FS Switch to full screen mode. /WM Switch to window mode.
/ACT Activate specified window. /INA Inactivate specified window.
/ENA Enable specified window. /DIS Disable specified window.
/VIS Unhide specified window. /HID Hide specified window.
/MIN Minimize specified window. /MAX Maximize specified window.
/RES Restore specified window. /REN Rename specified window.
/TOP Make window always on top. /NOT Make window not always on top.
/MOV Move specified window. /SIZ Resize specified window.
/CLS Close specified window. /END Kill process linked to window.
/RUN Executes or opens specified file using associated application.
state Initial show state of window(/MIN,/MAX or/HID).Default is normal.
args Optional commandline arguments passed to launched application.
Specify a window by its caption (case insensitive) or handle in hex format.
*The At symbol '@' may be used to refer to this window.*
For more help on any parameter use CMDOW /? <parameter>.
Eg CMDOW /? /RUN or CMDOW /? window.
---------------------------------
To refer to the current window use "@"
You may use /min or even /HID to minimize/hide the batch window.
When using /HID don't forget to place a /VIS when echoing messages.
HTH