|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
16 楼』:
Shell Scripting Toolkit 2.6
http://www.westmesatech.com/sst.html
This is a small collection of Win32 console programs (command-line utilities) to assist with Cmd.exe shell scripting in Windows NT 4.0 and later. Documentation is provided in PDF format.
Program Description
CCase Converts standard input to upper or lowercase, and writes to standard output.
ColorX Echoes the current screen colors to standard output, or sets the colors for the next text to be written to standard output.
DateX Echoes the current date, a specified date, or an offset of either the current date or a specified date to standard output in a variety of formats.
DriveX Returns the drive type for the current or a specified drive as an exit code, or echoes drives of a specified type to standard output.
EchoX Echoes text to standard output in a specified color. Supports several escape characters and a formatting width and alignment.
FInfo Echoes information about one or more files to standard output.
IfX Case-insensitive string or or numeric comparison of two arguments (not needed on WinNT).
LineX Counts the number of lines in standard input; prints a specific line, a range of lines, or a specified number of lines from the beginning or end of standard input. Can also output in reverse order.
S2V A real-mode MS-DOS program that reads the first line of standard input and stores it into an environment variable (non-functional, and not needed, on WinNT).
ShellEsc For each line of standard input, inserts a shell escape character (^) before each reserved shell character, and writes it to standard output.
SleepX Pauses a script for a specified period of time. Can display a prompt, and can optionally be interrupted by a keystroke.
Str Counts characters in a string, echoes a string in upper or lowercase, and searches for one string in another.
Tee Writes each line of standard input to a file and to standard output simultaneously.
TempName Generates a temporary unique file or directory name.
|
|
2008-9-4 11:12 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
17 楼』:
Windows Admin Script Tools 6.5
http://www.westmesatech.com/wast.html
FVER - FVER allows a shell script to perform version checking on a Win32 executable file, provided it contains version information.
ISADMIN ISADMIN checks if the currently logged-on user is an administrator (Windows NT 4.0 and later). It runs fine on Windows 9x/Me, where the current logged on user is always an administrator.
ISMEMBER - ISMEMBER can check if the currently logged-on user is a member of one or more groups that you can specify on the command line, and it can also list group memberships. Requires Windows NT 4.0 or later.
MINWIN MINWIN minimizes the topmost window on the screen (useful in logon scripts).
NEEDBOOT - NEEDBOOT determines if there are pending file rename/move/delete operations for the next system boot. On Windows 9x/Me, it checks for the existence of any entries in the [Rename] section of WININIT.INI; on the Windows NT platform, it checks for the existence of the PendingFileRenameOperations registry entry. It can also list the entries in the [Rename] section or the contents of the registry entry.
NUPP NUPP lets you temporarily map a drive letter, do some things, then restore the mapping to its previous value.
OSTEST - OSTEST tests the current operating system to see if it meets one or more criteria. You can check if the current platform is Windows 9x/Me or NT, the version number, service pack number, and build number. It can also detect whether the current OS is running a 'home' edition, whether it's a server or workstation, and the Terminal Server mode (remote desktop or application server).
RASCONNS - RASCONNS allows a shell script to determine if one or more RAS connections are active. It can also list active RAS connections and determine if a named RAS connection is active.
WINMSG - WINMSG displays a Windows dialog box with a customizable message, buttons and icon. A shell script can detect which button was pressed. You can also read the dialog box text from a text file and specify a timeout period.
[ Last edited by uiopuiop on 2008-9-12 at 02:11 PM ]
|
|
2008-9-4 11:23 |
|
|
radem
高级用户
CMD感染者
积分 691
发帖 383
注册 2008-5-23
状态 离线
|
『第
18 楼』:
强!感谢分享
|
|
|
2008-9-4 18:27 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
19 楼』:
Wake-on-LAN
http://www.matcode.com/wol.htm
This small command line utility makes possible to switch on a computer from a second one by sending a "Magic Packet". Both of computers can be located on the same LAN or on the different LAN segments.
MC-WOL ethernet-address [/a ip-address] [/p password]
|
|
2008-9-12 14:01 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
20 楼』:
MD5.exe - Command Line Message Digest Utility
http://www.fourmilab.ch/md5/
md5 [ -csignature ] [ -l ] [ -n ] [ -u ] [ -v ] [ -dinput_text | infile… ]
|
|
2008-9-12 14:04 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
21 楼』:
Freeware scriptable command line network connectivity tools
http://www.tools4ever.com/products/free/command/
T4eWebPing
Gets the response time and header code for any input URL; great for testing scripts, execution times and 404 errors on your website.
T4eSQL
Connects to any ODBC database and executes a custom query, results can be written to a text file; useful for database monitoring (systables).
T4eDirSize
Gets the free and used space of any directory or share, also counts the number of special files (encrypted, readonly, hidden, system, etc); great for monitoring free space and file statistics.
T4ePortPing
Connects to any TCP/IP port and retrieves the response time and error code.
T4eRexec
This command line utility is similar to the Windows REXEC command, but accepts a password as input and can therefore run in unattended mode. To run commands on a REXEC compatible OS, such as Linux, the REXEC daemon has to be running on the target system.
T4eSSH
A secure implementation of the SSH protocol to get access to a UNIX/Linux operating system.
T4eUnixInfo
This tool uses the REXEC daemon to remotely execute several pre-defined scripts compatible with Linux, to get system specific information such as DISK, MEMORY, SWAP and CPU. This information is easily accessible for MonitorMagic to be used as monitoring plugin.
T4eSSHUnixInfo
This tool uses the SSH daemon to securely execute several pre-defined scripts compatible with Linux, to get system specific information such as DISK, MEMORY, SWAP and CPU.
|
|
2008-9-12 14:10 |
|
|
tireless
银牌会员
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
『第
22 楼』:
EditV32 and Choose32
http://www.westmesatech.com/editv.html
Quote: | EditV32 and Choose32 are Win32 console programs that are designed to allow user input in shell scripts (batch files). The download also includes MS-DOS version of both programs, EditVar and Choose, that may be useful on DOS bootable media.
EditV32 works by obtaining the contents of an environment variable and presenting it for interactive editing. If you make any changes to the variable's contents and press Enter, EditV32 writes the changed variable to the parent environment of the program that started it (usually Cmd.exe). EditV32 requires Windows NT 4.0 or later; for Windows 9x/Me, use the MS-DOS version.
EditV32 is similar to the Cmd.exe Set /p command in Windows 2000 and later, but it may be preferable for the following reasons:
It allows you to edit a variable, not just set one.
It can limit the length of the typed variable.
It can mask the typed input for simple password security.
It can limit typed input to numbers only.
It offers a timeout feature (useful when a script needs to run unattended).
It can automatically "escape" reserved shell characters in variables it creates.
It provides useful exit codes: For example, an exit code of 4 means that the user pressed Ctrl-C to abort.
It comes with an MS-DOS version that works in Windows 9x/Me as well as on MS-DOS boot media.
Choose32 is similar to the Microsoft Choice tool, but it has more features. Here are some reasons why it might be preferable to Choice:
It doesn't beep when the user makes an invalid choice.
It offers a "default key" feature, which lets a user press Enter to select a default choice.
It comes with a DOS version (useful for MS-DOS boot media).
The Win32 version's timeout feature doesn't get confused when you run multiple instances in separate console windows (this was a problem with earlier Win32 console versions of Microsoft's Choice tool).
It can suppress the display of the user's choice.
It offers a "line input" mode where the user must press Enter after making a choice. |
|
[ Last edited by tireless on 2008-12-27 at 13:46 ]
|
|
2008-9-12 14:44 |
|
|
tireless
银牌会员
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
『第
23 楼』:
exec
http://www.westmesatech.com/files/exec15.zip
Quote: | Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapsed time. Exec doesn't have a problem with quoted paths or command-line arguments. Both console and GUI versions are provided. Works on Windows 9x/Me as well. (79,562 bytes; 07 Apr 2006) |
|
[ Last edited by tireless on 2008-12-27 at 13:46 ]
|
|
2008-9-12 14:46 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
24 楼』:
Quote: | Originally posted by tireless at 2008-9-12 02:46 PM:
http://www.westmesatech.com/files/exec15.zip
Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapse ... |
|
也可用 win2003光盘提供的support小工具 "timeit.exe"
|
|
2008-9-12 14:51 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
25 楼』:
fport.exe 查看进程端口号和路径
http://www.foundstone.com/us/resources/proddesc/fport.htm
fport reports all open TCP/IP and UDP ports and maps them to the owning application. This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name and path. Fport can be used to quickly identify unknown open ports and their associated applications.
|
|
2008-9-12 14:53 |
|
|
tireless
银牌会员
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
|
2008-9-12 19:48 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
|
2008-9-14 13:45 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第
28 楼』:
远程桌面命令行工具
autordp.exe
比MSTSC 功能强!
http://www.abinsight.com/tools/
Autordp [<Connection File>] [/v:<server[:port]>] [/u:<user>] [/p:<Password>] [/console]
<Connection file> -- .rdp file to specify parameters not handled by the utility: e.g. Remote desktop size, number of colors etc. To create this file run mstsc.exe, expand Options menu and click Save as.
<server[:port]> -- terminal server to which you want to connect
u:<user> -- user name (e.g. DOMAIN\\User)
p:<password> -- user password
/console -- connection to the console session of a server.
/? -- generates help message
这个也可以:
http://www.remkoweijnen.nl/blog/ ... p-from-commandline/
[ Last edited by uiopuiop on 2008-9-23 at 08:15 PM ]
|
|
2008-9-23 20:08 |
|
|
tireless
银牌会员
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
|
2008-9-23 22:58 |
|
|
uiopuiop
中级用户
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
|
2008-9-24 15:46 |
|