|
HUNRYBECKY
银牌会员
    
积分 1179
发帖 442
注册 2006-9-9
状态 离线
|
『楼 主』:
如何禁止用户关闭正在运行的CMD窗口[已完结]
使用 LLM 解释/回答一下
正在运行CMD批处理程序,为了防止用户不小心或中途关闭CMD窗口,如何禁止用户的这一行为呢?
这个问题已经完美的解决,请参考我15楼的回答
Last edited by HUNRYBECKY on 2007-1-18 at 08:50 AM ]
Running a CMD batch program, to prevent users from accidentally or midway closing the CMD window, how to prohibit this behavior of users?
This problem has been perfectly solved, please refer to my answer on the 15th floor
Last edited by HUNRYBECKY on 2007-1-18 at 08:50 AM ]
|
|
2006-12-30 00:06 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
|
2006-12-30 00:27 |
|
|
everest79
金牌会员
      一叶枝头,万树皆春
积分 2564
发帖 1127
注册 2006-12-25
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
VBS里边好像有锁定鼠键的功能
It seems that there is a function to lock the mouse and keyboard in VBS.
|
|
2006-12-30 01:06 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Originally posted by everest79 at 2006-12-29 12:06:
VBS里边好像有锁定鼠键的功能
在哪里?我以前也想找,没找到。
以前有段批处理只能通过VBS操作记事本修改时想锁鼠标,后来找到办法全在批处理里修改了才不用
Originally posted by everest79 at 2006-12-29 12:06:
There seems to be a function to lock the mouse and keyboard in VBS.
Where is it? I also wanted to find it before but didn't find it.
There was a batch script before that could only lock the mouse by operating Notepad through VBS. Later, I found a way to modify it all in the batch script, so I didn't need to use VBS.
|
|
2006-12-30 01:12 |
|
|
everest79
金牌会员
      一叶枝头,万树皆春
积分 2564
发帖 1127
注册 2006-12-25
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
你有没有用过VBS做的按键精灵?
Have you ever used a key macro tool made with VBS?
|
|
2006-12-30 01:17 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
|
2006-12-30 01:44 |
|
|
everest79
金牌会员
      一叶枝头,万树皆春
积分 2564
发帖 1127
注册 2006-12-25
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
现在我手上也没有,原来玩的游戏自动打怪用过,能限定鼠标在一个区域,也可以拦截键盘操作,就是一个VBA文件
Now I don't have it in hand either. The game I used to play for auto-fighting used it. It can limit the mouse within a certain area and can also intercept keyboard operations. It's just a VBA file.
|
|
2006-12-30 01:56 |
|
|
HUNRYBECKY
银牌会员
    
积分 1179
发帖 442
注册 2006-9-9
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
VBA文件是二次开发文件,必须要相关的程序才能启动。
VBA files are secondary development files and must be started with relevant programs.
|
|
2007-1-3 03:02 |
|
|
HUNRYBECKY
银牌会员
    
积分 1179
发帖 442
注册 2006-9-9
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by zh159 at 2006-12-30 00:27:
变相^_^:
如果鼠标、键盘是USB的好办,把USB的鼠标、键盘硬件卸了(需要键盘选择的就不卸键盘),运行结束后再扫描回来
http://www.cn-dos.net/ ...
这样虽然可以实现,但是比较麻烦吧。有没有更好的方法?
Originally posted by zh159 at 2006-12-30 00:27:
Indirectly^_^:
If the mouse and keyboard are USB, it's easy. Remove the USB mouse and keyboard hardware (don't remove the keyboard if the selection requires it), and scan it back after the operation ends
http://www.cn-dos.net/ ...
This way can be achieved, but it's more troublesome. Is there a better way?
|
|
2007-1-3 03:06 |
|
|
fage
新手上路

积分 2
发帖 1
注册 2007-1-8
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by HUNRYBECKY at 2006-12-29 11:06 AM:
正在运行CMD批处理程序,为了防止用户不小心或中途关闭CMD窗口,如何禁止用户的这一行为呢?
如何实现啊???
我也急切想知道,请高手指点!!!
Originally posted by HUNRYBECKY at 2006-12-20 11:06 AM:
Running the CMD batch program, in order to prevent the user from accidentally or closing the CMD window halfway, how to prohibit the user's this behavior?
How to achieve it???
I also urgently want to know, please expert guide!!!
|
|
2007-1-8 04:43 |
|
|
chainliq
高级用户
    学无尽止
积分 635
发帖 244
注册 2006-4-15 来自 广西贵港
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
嗯,我也想用这个效果,希望高手能解答,能屏蔽那个“关闭”
按钮就好办啦
Well, I also want to use this effect. I hope experts can answer. It would be easy if I can block that "Close" button.
|

学无尽止 |
|
2007-1-8 04:53 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by chainliq at 2007-1-8 04:53:
嗯,我也想用这个效果,希望高手能解答,能屏蔽那个“关闭”
按钮就好办啦
要是这样要改写系统的DLL文件才能实现的了。
Originally posted by chainliq at 2007-1-8 04:53:
Well, I also want to use this effect. I hope experts can answer. It will be easy if we can block that "Close" button.
If that's the case, it can only be achieved by rewriting the system's DLL files.
|
|
2007-1-8 06:41 |
|
|
zhoung0
初级用户
 
积分 54
发帖 18
注册 2005-11-5
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
可以试下autoit
Opt("WinTitleMatchMode", 4)
ShellExecute("ping.bat")
Sleep (1000)
WinSetState ( "classname=ConsoleWindowClass", "", @SW_DISABLE )
Last edited by zhoung0 on 2007-1-8 at 09:14 AM ]
You can try autoit
Opt("WinTitleMatchMode", 4)
ShellExecute("ping.bat")
Sleep (1000)
WinSetState ( "classname=ConsoleWindowClass", "", @SW_DISABLE )
Last edited by zhoung0 on 2007-1-8 at 09:14 AM ]
|
|
2007-1-8 08:56 |
|
|
yardian
中级用户
  
积分 305
发帖 85
注册 2005-5-23
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
加密CMD使电脑溢出也拿不到CMD权限
加密CMD使电脑溢出也拿不到CMD权限*Oz k\WrGy
Submitted by amxku on 2006, November 14, 7:59 PM. 技术杂记计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水^jLTkA*V
以下是lock.bat文件
~7k(E'S*YOr计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水+d'@6Rn'VbA)M
1V`YO9B4} GC?$V
@echo offforum.315safe.comM+c7cKRHt$eb
title 密码验证315safe.comc2d A8s_{U X
SETLOCAL
u \+U!F6q(b ec315安全网技术论坛set pwd=0
j0]1d-]B315safe.comset times=3forum.315safe.come
p-Q?`9x
%z.{3Y T\-M#pxT4M315safe.comecho ________________________________________________________________________________315安全网技术论坛K6H|Q:f(X7M5U
echo 您现在使用的是的CMD,没有经过的允许不能执行任何命令,
8F8KQ$d*U9if315safe.comecho 您的这次使用的所有操作以及留言都已经记入日志,如果您还没有密码,那请与315safe.comBj{9DZ^ E+d
echo 联系,已经有密码了请您输入密码!计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水0|zl {z F bU(e
echo ________________________________________________________________________________forum.315safe.comc-L$lFA.L
]O
echo ####################################################################### >> e:\CMD\mylog.txt
7y-L"l9N%@A{Uforum.315safe.comecho 操作: 激活密码验证 时间:%time% 日期:%date% >> e:\CMD\mylog.txt
-}dne8m,e(H0O#p计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水8S+K7pt,Y
qq-a
:passwordu:HzbcGFJ:s
set /p pwd= 请输入您的密码:
.m)rW'`3A315safe.comset /A times=%times%-1
T/sW+Jv4T315safe.comif %pwd%==fangzi goto passforum.315safe.comf-G,u3og9vw?
echo ***** 密码验证错误,请您重新输入 您还有 %times% 次机会输入密码 *****
5VZ:|N/gmo计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水echo .
_\KOH{Ax;m315安全网技术论坛if %times%==0 goto close315safe.com{:s:D"LB!_k
echo 状态: 用户输入密码 验证失败 时间:%time% >> e:\CMD\mylog.txt计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水S%hN8^?&BLq-G$o
goto password
-Lw:fFx"VA"u
i-JRu
P4D4qforum.315safe.com:close315safe.comr%DnGGc
echo 状态: 用户3次输入密码错误 程序锁定 时间:%time% >> e:\CMD\mylog.txtX y3K"|n1F4Sz
title 对不起,您无法使用的CMD
uUK"\@n!j5u}计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水echo --------------------------------------------------------------------------------/? Xx;Z
J0tY!MkuK
echo 由于您3次密码验证失败,程序已经被锁定,您已经无法继续操作,您可以选择关闭
a:\`+@,DO&@ _计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水echo 本窗口,您也可以通过留言来与取得联系,输入留言后,请按回车提交!
qF5~rguC4xforum.315safe.comecho --------------------------------------------------------------------------------315safe.comHh/j,H2a(iK@4s%g
echo 计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水Kf q {p'Z*Q
-]1ai/Ae(Eyforum.315safe.com:message
^$PeE\M5IC315安全网技术论坛echo ________________________________________________________________________________计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水4XWG'f:j
zPKS
set /p msg= 请输入您的留言:
/g+@{X3~])H315safe.comecho . >> e:\CMD\mymsg.txtP;l;@at*n%S lgf q
echo ####################################################################### >> e:\CMD\mymsg.txtforum.315safe.com o"c'H4q&Q]y
echo 日期:%date% 时间:%time% >> e:\CMD\mymsg.txt315安全网技术论坛I-K/H7pB0Zo
echo 留言内容: >> e:\CMD\mymsg.txt315safe.comKg$rY:GI
echo %msg% >> e:\CMD\mymsg.txt
@X(IdM,K/?vEecho. >> c:\message.txt315safe.coma$qki9Hk
echo …… OK ……计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水 `ek/YC
的CMD
v:C_-O+x5s-I$}315安全网技术论坛ENDLOCAL
#_d }6DY*G
a#d9{计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水6y$^.y#i5e:dU2v
-----------------------------------------------------------------forum.315safe.com,P
^3~8w Y`"Oq0k
_l6z#Uq s+T.b计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水315safe.com2F.Hc|*\A
FD`5B
@echo off
C)e \Z0lnE s315安全网技术论坛copy /y lock.bat %windir%\lock.bat315安全网技术论坛!p9i#Ab3RL3`
echo lock.bat安装成功
O:j
Z\Tn"q315safe.comecho lock.reg注册成功
1\8qx_2|$\e
s315安全网技术论坛-----------------------------------------------------
-K9y$
]
Xe:R315safe.comdel /f lock.bat %windir%\lock.bat
A:k8T4o$VKm
u%c315安全网技术论坛echo lock.bat删除成功
8c$z'w;y;cfT.lLn0}计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水regedit /s unlock.reg_2Z7N w,T$]b
echo lock.reg反注册成功
'k#h@ `.U*ckIO计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水
'z4i+Ksv5Fh------------------------------------------------------
w!lZV3F3\
B计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水315safe.com7HR3Iam]L"V
双击setup.bat即可安装!
]&y,z] ^zPvM!~9i315safe.com
%pGR/PVirn7SX在使用CMD时,密码为fangzi (全为小写,这里的密码对大小写敏感)计算机,网络,信息,技术,安全,路由器,网管,Windows,Vista,数据库,网站,开发,下载,灌水 N7ms5LT}(w
所有的日志存放在E:\CMD\mylog.txt中315安全网技术论坛q~ o6vb8H(z&U3a
所有的留言存放在E:\CMD\mymsg.txt中
Encrypt CMD so that even if the computer overflows, you can't get CMD permissions
Encrypt CMD so that even if the computer overflows, you can't get CMD permissions*Oz k\WrGy
Submitted by amxku on 2006, November 14, 7:59 PM. Technical notes Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat^jLTkA*V
The following is the lock.bat file
~7k(E'S*YOr Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat+d'@6Rn'VbA)M
1V`YO9B4} GC?$V
@echo offorum.315safe.comM+c7cKRHt$eb
title Password Verification 315safe.comc2d A8s_{U X
SETLOCAL
u \+U!F6q(b ec315 Security Network Technology Forum set pwd=0
j0]1d-]B315safe.com set times=3forum.315safe.come
p-Q?`9x
%z.{3Y T\-M#pxT4M315safe.com echo ________________________________________________________________________________315 Security Network Technology ForumK6H|Q:f(X7M5U
echo You are now using 's CMD. You cannot execute any commands without 's permission.
8F8KQ$d*U9if315safe.com echo Your all operations and messages in this use have been recorded in the log. If you don't have a password yet, please contact 315safe.comBj{9DZ^ E+d
echo for contact. If you already have a password, please enter your password! Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat0|zl {z F bU(e
echo ________________________________________________________________________________forum.315safe.comc-L$lFA.L
]O
echo ####################################################################### >> e:\CMD\mylog.txt
7y-L"l9N%@A{Uforum.315safe.com echo Operation: Activate password verification Time: %time% Date: %date% >> e:\CMD\mylog.txt
-}dne8m,e(H0O#p Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat8S+K7pt,Y
qq-a
:passwordu:HzbcGFJ:s
set /p pwd= Please enter your password:
.m)rW'`3A315safe.com set /A times=%times%-1
T/sW+Jv4T315safe.com if %pwd%==fangzi goto passforum.315safe.comf-G,u3og9vw?
echo ***** Password verification error. Please enter again. You have %times% more chances to enter the password *****
5VZ:|N/gmo Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat echo .
_\KOH{Ax;m315 Security Network Technology Forum if %times%==0 goto close315safe.com{:s:D"LB!_k
echo Status: User entered password Verification failed Time: %time% >> e:\CMD\mylog.txt Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chatS%hN8^?&BLq-G$o
goto password
-Lw:fFx"VA"u
i-JRu
P4D4qforum.315safe.com:close315safe.comr%DnGGc
echo Status: User entered password incorrectly 3 times Program locked Time: %time% >> e:\CMD\mylog.txtX y3K"|n1F4Sz
title Sorry, you cannot use 's CMD
uUK"\@n!j5u} Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat echo --------------------------------------------------------------------------------/? Xx;Z
J0tY!MkuK
echo Because you failed the password verification 3 times, the program has been locked. You can no longer continue to operate. You can choose to close
a:\`+@,DO&@ _ Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat echo This window. You can also contact through messages. Please enter the message and press Enter to submit!
qF5~rguC4xforum.315safe.comecho --------------------------------------------------------------------------------315safe.comHh/j,H2a(iK@4s%g
echo Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chatKf q {p'Z*Q
-]1ai/Ae(Eyforum.315safe.com:message
^$PeE\M5IC315 Security Network Technology Forum echo ________________________________________________________________________________ Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat4XWG'f:j
zPKS
set /p msg= Please enter your message:
/g+@{X3~])H315safe.comecho . >> e:\CMD\mymsg.txtP;l;@at*n%S lgf q
echo ####################################################################### >> e:\CMD\mymsg.txtforum.315safe.com o"c'H4q&Q]y
echo Date: %date% Time: %time% >> e:\CMD\mymsg.txt315 Security Network Technology ForumI-K/H7pB0Zo
echo Message content: >> e:\CMD\mymsg.txt315safe.comKg$rY:GI
echo %msg% >> e:\CMD\mymsg.txt
@X(IdM,K/?vEecho. >> c:\message.txt315safe.coma$qki9Hk
echo …… OK …… Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat `ek/YC
's CMD
v:C_-O+x5s-I$}315 Security Network Technology Forum ENDLOCAL
#_d }6DY*G
a#d9{ Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat6y$^.y#i5e:dU2v
-----------------------------------------------------------------forum.315safe.com,P
^3~8w Y`"Oq0k
_l6z#Uq s+T.b Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat315safe.com2F.Hc|*\A
FD`5B
@echo off
C)e \Z0lnE s315 Security Network Technology Forum copy /y lock.bat %windir%\lock.bat315 Security Network Technology Forum!p9i#Ab3RL3`
echo lock.bat installed successfully
O:j
Z\Tn"q315safe.comecho lock.reg registered successfully
1\8qx_2|$\e
s315 Security Network Technology Forum-----------------------------------------------------
-K9y$
]
Xe:R315safe.com del /f lock.bat %windir%\lock.bat
A:k8T4o$VKm
u%c315 Security Network Technology Forum echo lock.bat deleted successfully
8c$z'w;y;cfT.lLn0} Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat regedit /s unlock.reg_2Z7N w,T$]b
echo lock.reg unregistered successfully
'k#h@ `.U*ckIO Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat
'z4i+Ksv5Fh------------------------------------------------------
w!lZV3F3\
B Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat315safe.com7HR3Iam]L"V
Double-click setup.bat to install!
]&y,z] ^zPvM!~9i315safe.com
%pGR/PVirn7SX When using CMD, the password is fangzi (all in lowercase, the password here is case-sensitive) Computers, networks, information, technology, security, routers, network administrators, Windows, Vista, databases, websites, development, downloads, chit-chat N7ms5LT}(w
All logs are stored in E:\CMD\mylog.txt315 Security Network Technology Forumq~ o6vb8H(z&U3a
All messages are stored in E:\CMD\mymsg.txt
|
|
2007-1-8 11:04 |
|
|
HUNRYBECKY
银牌会员
    
积分 1179
发帖 442
注册 2006-9-9
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
终于找到了答案,我的电脑是DEEPIN的精简版,前两天杀毒时偶然发现一个CMDOW.exe文件,说是木马,我到网络上一查,才发现很多GHOST和精简系统都有这个文件,而且很多人查出来也说是木马或病毒,但是最终确定这个工具不是病毒或木马,可以放心使用.
CMDNOW工具非常强大,专门用于处理DOS或非DOW窗体的,可以在批处理中的开始加入CMDOW.EXE @ /DIS来禁止更改窗口,如果要隐藏窗口CMDOW.EXE @ /HID即可。这个命令可以到 http://commandline.co.uk上去下载。
该工具的英语帮助如下:
CMDOW Win32 Commandline Window Utility for NT4/2000/XP.
(C) Copyright 2001-2004 Ritchie Lawrence, http://www.commandline.co.uk.
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.
Finally found the answer. My computer is a DEEPIN slim version. A few days ago, I accidentally found a CMDOW.exe file during antivirus scanning, which was said to be a trojan. I checked online and found that many GHOST and slim systems have this file, and many people also found it to be a trojan or virus when checked, but it was finally determined that this tool is not a virus or trojan and can be used with confidence.
The CMDNOW tool is very powerful, specially used to handle DOS or non-DOW windows. You can add CMDOW.EXE @ /DIS at the beginning of the batch processing to prohibit changing the window. To hide the window, use CMDOW.EXE @ /HID. This command can be downloaded from http://commandline.co.uk.
The English help of this tool is as follows:
CMDOW Win32 Commandline Window Utility for NT4/2000/XP.
(C) Copyright 2001-2004 Ritchie Lawrence, http://www.commandline.co.uk.
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.
|
|
2007-1-18 08:48 |
|
|