中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-01 12:44
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » cmdow工具 查看 3,225 回复 4
楼 主 cmdow工具 发表于 2007-02-01 02:56 ·  中国 江苏 扬州 电信
初级用户
积分 90
发帖 32
注册 2007-01-14 09:19
19年会员
UID 76479
性别 男
状态 离线
我这里有一个工具,不知道是干什么的?
感觉很有用!

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
2 发表于 2007-02-01 03:54 ·  中国 天津 河西区 联通
初级用户
积分 38
发帖 16
注册 2006-10-28 21:19
19年会员
UID 68682
性别 男
状态 离线
谢谢有用
3 发表于 2007-02-01 04:02 ·  中国 北京 联通
金牌会员
★★★★
积分 2,902
发帖 1,147
注册 2006-09-21 12:00
19年会员
UID 63324
性别 男
状态 离线
使用方法以及相关的调用例程,请参见下面的帖子:)





可以最小化运行的批处理 (见帖子6楼:用途)
http://www.cn-dos.net/forum/viewthread.php?tid=25095&fpage=1&highlight=cmdow&page=1


请高手们帮忙看一下我写的这个批处理 (帖子6楼:用途与参数)
http://www.cn-dos.net/forum/viewthread.php?tid=26847&fpage=1&highlight=cmdow


怎样才能不让用户关闭批处理窗口? (4楼)
http://www.cn-dos.net/forum/viewthread.php?tid=26141&fpage=1&highlight=cmdow



如何禁止用户关闭正在运行的CMD窗口 (15楼)
http://www.cn-dos.net/forum/viewthread.php?tid=26163&fpage=1&highlight=cmdow



使用论坛搜索功能检索相应关键字以及正文检索关键字,可以找到上面问题:)

[ Last edited by redtek on 2007-1-31 at 03:03 PM ]
本帖最近评分记录 (共 1 条) 点击查看详情
评分人分数时间
flyinthesky +2 2007-06-25 23:31
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
4 发表于 2010-12-31 02:38 ·  中国 浙江 温州 电信
新手上路
积分 11
发帖 8
注册 2010-01-29 22:21
16年会员
UID 159746
性别 男
状态 离线
不能下载啊,楼主、。。。。。。
5 发表于 2010-12-31 07:35 ·  中国 台湾 台湾宽频通讯顾问股份有限公司
初级用户
★★
积分 68
发帖 64
注册 2009-05-23 20:43
17年会员
UID 145803
性别 男
状态 离线
provide the cmdow.rar as attachment
论坛跳转: