中国DOS联盟论坛

中国DOS联盟

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

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

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » 第三方命令行工具收集贴 【增加中】
« [1] [2] [3] [4] [5] [6] [7] »
作者:
标题: 第三方命令行工具收集贴 【增加中】 上一主题 | 下一主题
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"

   此帖被 +1 点积分     点击查看详情   
评分人:【 tireless 分数: +1  时间:2008-9-12 15:11


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
状态 离线
『第 26 楼』:  Wizard's Apprentice - 为脚本提供界面操作

http://wizapp.sourceforge.net/

示例:





[ Last edited by tireless on 2008-9-11 at 11:50 PM ]

2008-9-12 19:48
查看资料  发短消息 网志   编辑帖子  回复  引用回复
uiopuiop
中级用户





积分 400
发帖 211
注册 2007-9-30
状态 离线
『第 27 楼』:  win32 命令行工具

vkill兄的小站上收集了不少win32 命令行工具 (转贴)
http://www.vkill.net/tools.html

http://live.sysinternals.com/
(PSTOOLS 还是用老版本好,自从被MS收购之后。。。。)

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
状态 离线
『第 29 楼』:  

clip (73 KB)
http://www.drs.at/tools/

有三个用法:

1.复制文字 (这条命令是众多此类工具没有的)
2.复制其他命令的输出
3.复制文本文件的内容


例如:

1.复制文字

clip [-e] http://www.cn-dos.net
  复制 http://www.cn-dos.net 到剪贴板。可选参数 -e 使得复制的同时,echo 文字到屏幕上。

clip \  http://www.cn-dos.net
  还将复制开头的空格

clip http://www.cn-dos.net \
  还将复制尾部的空格

(多个空格会被合并为一个)

2.复制其他命令的输出

dir /b | clip [-e]

3.复制文本文件的内容

clip [-e] < test.txt

[ Last edited by tireless on 2008-12-27 at 13:45 ]

   此帖被 +1 点积分     点击查看详情   
评分人:【 uiopuiop 分数: +1  时间:2008-9-24 15:33


2008-9-23 22:58
查看资料  发短消息 网志   编辑帖子  回复  引用回复
uiopuiop
中级用户





积分 400
发帖 211
注册 2007-9-30
状态 离线
『第 30 楼』:  



  Quote:
Originally posted by tireless at 2008-9-23 10:58 PM:
http://www.drs.at/tools/index.htm

有三个用法:

1.复制文字 (这条命令是众多此类工具没有的)
2.复制其他命令的输出
3.复制 ...

Windows 98 Resource Kit 也包括了同名工具,但功能没你这个强。
http://support.microsoft.com/kb/247024/en-us

2008-9-24 15:46
查看资料  发短消息 网志   编辑帖子  回复  引用回复
« [1] [2] [3] [4] [5] [6] [7] »
请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: