China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 13:53
Original Poster Posted 2007-02-01 02:56 ·  中国 江苏 扬州 电信
初级用户
Credits 90
Posts 32
Joined 2007-01-14 09:19
19-year member
UID 76479
Gender Male
Status Offline
I have a tool here, but I don't know what it does!
It feels very useful!

CMDOW  Win32 Commandline Window Utility for NT4/2000/XP.
(C) Copyright 2001-2004 Ritchie Lawrence

CMDOW
CMDOW /TH | /TV | /MA | /CW | /UW | /AT | /FS | /WM
CMDOW window {

}
CMDOW /RUN file

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 and height).

/TH Tile windows horizontally. /TV Tile windows vertically.
/MA Minimize all windows. /CW Cascade windows.
/UW Undo tile/minimize/cascade. /AT Intelligent -
/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.


cmdow.zip
Floor 2 Posted 2007-02-01 03:54 ·  中国 天津 河西区 联通
初级用户
Credits 38
Posts 16
Joined 2006-10-28 21:19
19-year member
UID 68682
Gender Male
Status Offline
Floor 3 Posted 2007-02-01 04:02 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
For usage methods and related calling routines, please refer to the following post: )





Batch that can run in minimized mode (see post 6th floor: purpose)
http://www.cn-dos.net/forum/viewthread.php?tid=25095&fpage=1&highlight=cmdow&page=1


Please help experts to take a look at this batch I wrote (post 6th floor: purpose and parameters)
http://www.cn-dos.net/forum/viewthread.php?tid=26847&fpage=1&highlight=cmdow


How to prevent users from closing the batch window? (4th floor)
http://www.cn-dos.net/forum/viewthread.php?tid=26141&fpage=1&highlight=cmdow



How to prohibit users from closing the running CMD window (15th floor)
http://www.cn-dos.net/forum/viewthread.php?tid=26163&fpage=1&highlight=cmdow



Use the forum search function to retrieve corresponding keywords and text retrieval keywords, and you can find the above problems: )

[ Last edited by redtek on 2007-1-31 at 03:03 PM ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
flyinthesky +2 2007-06-25 23:31
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 4 Posted 2010-12-31 02:38 ·  中国 浙江 温州 电信
新手上路
Credits 11
Posts 8
Joined 2010-01-29 22:21
16-year member
UID 159746
Gender Male
Status Offline
Can't download,楼主、。。。。。。
Floor 5 Posted 2010-12-31 07:35 ·  中国 台湾 台湾宽频通讯顾问股份有限公司
初级用户
★★
Credits 68
Posts 64
Joined 2009-05-23 20:43
17-year member
UID 145803
Gender Male
Status Offline
请提供cmdow.rar作为附件
Forum Jump: