|
yishanju
银牌会员
[b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
|
2008-11-5 22:42 |
|
|
yishanju
银牌会员
[b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第
2 楼』:
Comandiux (cax)1.7.26.210 英文帮助说明。
Comandiux: a command line Angeliux ?treeumph Y2k7.
On command line type command and its parameters eg: /wnc Notepad "Untitled - Notepad"
General purpose:
/??? - ask, next parameter is text followed by another commands, if answer is NO, program ends
/BEEP - PC speaker beep
/BEPL - play windows default beep
/WAPL - play wav file
/MVOLUME:0-65535 - set master volume (mixer 0) {use "/MVOLUME:R-10000" do decrease by 10000}
/MVOLUME1:0-65535 - set master volume on mixer 1
/MVOLUME2:0-65535 - set master volume on mixer 2
/MVOLUME3:0-65535 - set master volume on mixer 3
/MVOLUME4:0-65535 - set master volume on mixer 4
/MIXERS - list Mixer devices, volume and name
/SAVER - Run Screen saver
/ENSAVER - Enable Screen saver
/DISSAVER - Disable Screen saver
/SHOWDESK - Show Desktop
/RESTDESK - Restore desktop windows
/NMLO - Set Num Lock On (only on WinNT / Win2k / XP)
/NOW file text - Write date, time and text to file ("-" - means no text)
/MOFF! - Turn Monitor OFF. Use Carefully!
/MON! - Turn Monitor ON
/HOTKEY AS:122 - Wait for hotkey ALT+SHIFT+F11 and continue with next parameter (Alt, Control, Shift, Win_key):Virtual_key_code
/UNTIL 22:30 - Wait until time specified in 24 hour format, continues by next parameter
/VWAIT:120 text - Show Wait window with text, next command follows
/WAIT:5 - Wait 5 seconds, unvisible
/CYCLE:20 - repeat action from next parameter, timeout Seconds/10
not working with file operations (copy, delete, move, run, execute)
/REPEAT:2 - repeat commands from parameter 2 on command line (/vwait:4 par1 /vwait:6 par4 /repeat:3 - repeat commands from /vwait:6 including)
use Cax.exe /winclose ".Comandiux*" to stop this loop
/MEMFREE:10 - free 10% or RAM
/.MANIFEST - create Comandiux .Manifest file for Windows XP
/REGISTEREXE - register Comandiux program in registry path
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\Cax.exe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Cax.exe
Services / drivers
/SVC~I - install Comandiux service, manual start
/SVC~IA - install Comandiux service, automatic start
/SVC~R - run as service
/SVC~U - uninstall Comandiux service
/SVC~NAME:name - service name to install/uninstall
/SVC~DISP:name - service display name to install/uninstall
/SVC~PARAM - parameters used to start service (all strings after this parameter are parsed as service parameters)
/SVC~I /SVC~NAME:MyService /SVC~DISP:"My first service" /SVC~PARAM /rumw program.exe parameter_one parameter_two
/SVC~U /SVC~NAME:MyService
in registry \\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService, you can change other service parameters
/SVCLIST - list all known services and drivers
/SVCSVCLIST - list all services
/SVCDRVLIST - list all drivers
/SVCSTOP name - stop service
/SVCSTART name - start service
Devices
/DEVLIST - list all installed devices on machine
/DEVEJIN - Eject device by InstanceID
/DEVDSIN - Disable device by InstanceID
/DEVENIN - Enable device by InstanceID
Windows / machine controlling:
/DARD - Disconnect this remote session, with ask
/DRD - Disconnect this remote session
/DWH - Hibernate computer
/DAWH - Hibernate with ask
/DWC - Close Windows, Power off
/DAWC - Close windows with ask, Power off
/LOCKW - Lock Workstation
/DWL - Log off
/DAWL - Log off with ask
/DFL - Force Log Off
/DAFL - Force Log Off with ask
/DWR - Reboot computer
/DAWR - Reboot computer with ask
/DFR - Force reboot
/DAFR - Force reboot with ask
/DWS - Suspend computer
/DAWS - Suspend with ask
/DWNP - ShutDown, No Power Off
/DHFS - ShutDown Force If Hung, Power off
/DAHFS - ShutDown Force If Hung with Ask, Power off
/DAFS - Force ShutDown with ask, Power off
/DFS - Force ShutDown, Power off
/DESR - Emergency force reboot, no ask!
/DESS - Emergency force ShutDown, Power off, no ask!
/SHUTDOWNINIT - initiate system shutdown: /shutdowninit machine timeout message forceY/N rebootY/N
/shutdowninit SERVER 230 "SERVER will reboot in 230 seconds" N Y
/SHUTDOWNABORT - abort system shutdown: /shutdownabort machine ("-" means local machine)
Message boxes (result are returned as errorlevel, refer to MSDN MessageBox function):
/MSG - Messagebox "OK"
/MSC - Messagebox "OK Cancel"
/MSR - Messagebox "Abort Retry Ignore"
/MSN - Messagebox "Yes No Cancel"
/MSY - Messagebox "Yes No"
/MSRC - Messagebox "Retry Cancel"
/MSIG - Messagebox "OK", Comandiux continues with next parameter, otherwise ends
/MSIC - Messagebox "OK Cancel", if "OK" Comandiux continues with next parameter, otherwise ends
/MSIY - Messagebox "Yes No", if "YES" Comandiux continues with next parameter, otherwise ends
(IDOK 1, IDCANCEL 2, IDABORT 3, IDRETRY 4, IDIGNORE 5, IDYES 6, IDNO 7, IDCLOSE 8, IDHELP 9, IDTRYAGAIN 10, IDCONTINUE 11)
Message window:
/MSWT - Show text in message window
/MSWC - Close message window
/MSWU - Add text to message window
/TELL 20 text - Shows small window in screen center for seconds/10
/TELT - same as above plus show countdown
On Screen display OSD:
/OSDTEXT 50 text - Shows lime osd text bottom on screen (timeout seconds/10 ), 0 means wait forever, /osdtext 100 "Lime Message"
/OSDRTF 50 Rich - shows Rich formated text, /osdrtf 100 "{\rtf1\ansi\deff0{\fonttbl{\f0\fprq2 Verdana;}}{\colortbl ;\red0\green255\blue0;}{\uc1\pard\qc\cf1\b\f0\fs72 TEXT to SHOW \cf0\b0\par}"
/OSDFILE 50 file - shows text or rtf file content as OSD message, when create RTF, align to center
/OSDTOP 20 - Top position of OSD, 5-32000
/OSDRECYCLE - reuse OSD window, must be specified before any other /OSD... "/OSDRECYCLE /osdtext 10 %!clock!% /repeat:2"
/CLASSCLOSE ~treeumphOSD - remove OSD manually
Aplication / windows:
/CAXLIST - list all running copies of Comandiux with their command lines
/WNC - Close window (class name or "-") {window name or "-"} or use #000234 (#$004ab for hexa) as window hadle number, window name as "-" must be in this case
/WNT - Destroy window (class name or "-") {window name or "-"} or number #...
/WNH - Hide window ...
/WNS - Show window ...
/WND - Disable window ...
/WNE - Enable window ...
/WNM - Minimize window ...
/WNX - Maximize window ...
/WNR - Restore window ...
/WNN - Show window normal ...
/WNZT - Set window topmost (stay on top) ...
/WNZN - Set window not topmost ...
/WNZA - Activate window (bring to front, set focus) ...
/WNZB - Send window to back (bottom) ...
/WINLIST - show applications windows, (Unicode Enabled disabled Visible hidden mInimized Maximized Parent child)
/WINLISTA - show applications windows including windows without caption / text
/WINPRIO1-6 - set process by window priority /winprio3 Calculator (1-6 = idle, below, normal abowe, high, realtime){2,4 only on win2k, XP}
/WINTRANSP - set window transparency (0=transparent, 255 = opaque) /wintransp 180 Calc*
/WINTRCL - set window color transparent (colorvalue, prefix $0 means HEX) /wintransp $0c0c0c0 Calculator
/WINCLOSE - close all windows title matches parameter /winclose "Untitled - Notepad"
/WINDESTROY - destroy all windows title matches parameter /windestroy Untitle*
/CLASSPRIO1-6 - set process by window priority /classprio3 SciCalc (1-6 = idle, below, normal abowe, high, realtime){2,4 only on win2k, XP}
/CLASSTRANSP - set window transparency by class name (0=transparent, 255 = opaque) /classtransp 255 SciCalc
/CLASSTRCL - set window color transparent by class (colorvalue, prefix $0 means HEX) /wintransp $0c0c0c0 SciCalc
/CLASSCLOSE - close all windows class matches parameter /classclose *pad
/CLASSDESTROY - close all windows class matches parameter /classdestroy winh*
/WINMSGSEND - Send message to window and shows result(WindowName, Message, Wparam, Lparam) /WinMsgSend Calculator 16 0 0
/WINMSGPOST - Post message to window (WindowName, Message, Wparam, Lparam) /WinMsgPost Calculator 16 0 0
/CLASSMSGSEND - Send message to window and shows result(WindowClass, Message, Wparam, Lparam) /ClassMsgSend SciCalc 16 0 0
/CLASSMSGPOST - Post message to window (WindowClass, Message, Wparam, Lparam) /ClassMsgPost SciCalc 16 0 0
Program / process:
/RUN - Run apl normal
/RUM - Run apl minimized
/RUH - Run apl hidden
/RUX - Run apl maximized
/RU?W - run as previous, but wait for program ends (/runw, /rumw, ...)
/VERB: - verb for ShellExecute, specify before "/RUN", (cax.exe /verb:print /run "c:\myfile.txt"), default is 'OPEN'
/PRIO:1-6 - adjust process priority for ShellExecute (/prio:3 /run calc.exe)
/ASUSER - run as an user, (specify: user_name domain password program) eg.: (cax.exe /asuser peter - - notepad.exe c:\logfile.txt), Comandiux ends after and returns Errorlevel value
/PRCLIST - show all running processes
/PRCMODLIST - show all running processes and their modules
/PRCSCAN - scan for all processes
/PRCPRIO1-6 - set process priority /prcprio3 calc.exe (1-6 = idle, below, normal abowe, high, realtime){2,4 only on win2k, XP}
/KILLPRC file - kill first process matches parameter /killprc notepad.exe
/KILLALL - kill all processes matches parameter /killall winh*
/KILLLAST - kill last process matches parameter /killlast *pad
/KILLID id - kill by process ID /killid 00f3
/KILLUSER name - kill all processes by user name /killuser Administ*
File, disk:
/PROP - Display properties of object
/DDEL - Delete file or dir (to Recycle Bin)
/DEL - Delete file or dir with ask (to Recycle Bin)
/REM - Remove file or dir with ask
/DREM - Remove file or dir
/CPY - Copy file or directory, (/CPY source target)
/CPA - Copy with ask
/CPD - Copy directly (no ask for overwrite, etc..)
/CPH - Copy hidden
/MVE - Move file or directory
/MVA - Move with ask
/MVD - Move directly (no ask for overwrite, etc..)
/MVH - Move hidden
/RNM - Rename file or directory
/RNA - Rename with ask
/RND - Rename directly (no ask for overwrite, etc..)
/RNH - Rename hidden
/NETA - Add network connection eg.: \\server\disk1 s:
/NETD - Delete network connection s:
/REPLACE - Replace file on next reboot, user must be in an administrator's group (/REPLACE sourcefile new_name)
/HARDLINK - Creates hard link, both files must be on same drive (/HARDLINK new_file_name existing_file)
/DSKEJ:x - Eject drive X:
/DSKFEJ:x - Force Eject drive X:
/DSKCL:y - Close drive Y:
/DSKFCL:y - Force Close drive Y:
/DSKLCK:s - lock removal of drive S:
/DSKUNL:s - unlock removal of drive S:
/WAITDIRC - wait for directory change
/WAITDIRSC - wait for directory and subdirs change
/DRVLIST - List all drives in system, with network user name
/GETNETUSER - get user name for network resource (\\192.168.0.1\ipc$, \\computer\share)
/MD5FILE - calculate MD5 hash and write output to .md5 file (cax.exe /MD5FILE file.iso [ouputdir or -])
/SHA1FILE - calculate SHA1 hash and write output to .sha1 file (cax.exe /SHA1FILE file.iso [ouputdir or -])
/FILEOF_NOSECATTR - for copy, move or rename operation add flag: FOF_NOCOPYSECURITYATTRIBS
/FILEOF_NOCONELEM - for copy, move or rename operation add flag: FOF_NO_CONNECTED_ELEMENTS
/FILEOF_NORECURSION - for copy, move or rename operation add flag: FOF_NORECURSION
/FILEOF_FILESONLY - for copy, move or rename operation add flag: FOF_FILESONLY
********************************************************************************
Variables, use on command line, Windows variables works also
%!TICK!% - decimal value from gettickcount
%!HTICK!% - hexadecimal value from gettickcount
%!CLOCK!% - time HH:MM:SS
%!TIME!% - time HH-MM-SS
%!T100!% - time with 1/100 of second
%!HOUR!% - hour
%!MIN!% - minute
%!SEC!% - seconds
%!DATE!% - date YYYY-MM-DD
%!YEAR!% - year
%!MON!% - month
%!DAY!% - day
%!DAYN!% - name of day
%!MONN!% - name of month
%!FMEM!% - free memory in MB
%!UNAME!% - user name
%!CNAME!% - computer name
%!IPADS!% - IP adresses
%!CDRIVE!% - current drive
%!CDIR!% - current drive and directory
%!SDRIVE!% - starting drive of Comandiux
%!SDIR!% - starting drive and directory of Comandiux
%!FILE:fname!% - first line from file "fname" (cax.exe /msg "%!file:D:\temp\My text file.txt!%")
********************************************************************************
/VERBOSEN - don't display any error
/VERBOSE0 - normal level of error reports (default)
/VERBOSE1 - show error reports
"-" means Empty parameter in some case
"\n" new line (CRLF)
"\t" TAB
remove Hacker Defender service: "cax.exe /svc~u /svc~name:HackerDefender100"
close all copies of Comandiux: "cax.exe /CLASSCLOSE .!Comandiux~main~window"
HWND_BROADCAST = $FFFF
[Ctrl + F11] - show messages
[Alt + F] - find in help window (type text to command line)
[Alt + N] - find next
Any comment / question? Contact author!
Email: Comandiux@scot.sk
Comandiux home: http://comandiux.scot.sk
For gui version visit Angeliux home: http://angeliux.scot.sk
Some features are not working on 9x architecture.
Warning! We are not guarantee any damage caused this program!
|
有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-11-5 22:55 |
|
|
tireless
银牌会员
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
『第
3 楼』:
可以到其他地方下载最新版本,Google 一下!
|
|
2008-11-5 22:57 |
|
|
yishanju
银牌会员
[b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第
4 楼』:
这个版本能用就行了,HOHO
|
有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-11-5 23:00 |
|
|
pusofalse
银牌会员
积分 1604
发帖 646
注册 2008-4-13
状态 离线
|
『第
5 楼』:
cax /osdtext 50 cndos
怎样设定"cndos"显示的位置和颜色?
|
心绪平和,眼藏静谧,无比安稳的火... Purification of soul...Just a false...^_^ |
|
2008-11-6 01:12 |
|
|
yishanju
银牌会员
[b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第
6 楼』:
Quote: | Originally posted by pusofalse at 2008-11-6 01:12:
cax /osdtext 50 cndos
怎样设定"cndos"显示的位置和颜色? |
|
. 没看到相关说明。
|
有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-11-7 14:30 |
|
|