China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 07:06
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Third - party command - line tool collection post [Being added] DigestII View 83,041 Replies 91
Original Poster Posted 2008-09-03 21:57 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
UnxUtils -- UNIX command line for Windows

http://code.google.com/p/gears/downloads/detail?name=UnxUtils.zip&can=2&q=&redir=1


Good things to share with everyone, but it's tiring to post alone.

Hope everyone will post and share their own super powerful command line tools!!!

If you are so kind, remember to give some points哦 :-)

[ Last edited by uiopuiop on 2011-1-3 at 16:32 ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
+1 2010-07-19 13:00
Floor 2 Posted 2008-09-03 22:05 ·  中国 重庆 巫山县 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Thanks for sharing! However, many people have already posted it.
Floor 3 Posted 2008-09-03 22:05 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
The content can carry carriage returns.

http://caspian.dotconf.net/menu/Software/SendEmail/

SendEmail is a lightweight, command line SMTP email client. If you have the need to send email from a command line, this free program is perfect: simple to use and feature rich. It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable and will likely meet your requirements. SendEmail is written in Perl and is unique in that it requires NO MODULES. It has an intuitive and flexible set of command-line options, making it very easy to learn and use.
Floor 4 Posted 2008-09-03 22:09 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
Floor 5 Posted 2008-09-03 22:18 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
https://www.netikus.net/products_downloads.html?SESSION=

CheckTCP.exe
FileReplace.exe
fping.exe
GETHTTP.exe
hlshlext.dll
logofdel.exe
NetSend.exe
nttoolkit_hlp.chm
pagesnpp.exe
PasswordAssistant.exe
pwdupd.exe
ServiceScheduler.exe
servicescheduler.ini
ShutdownTimer.exe
Sleep.exe
srvsec.exe
SuperDel.exe
TaskSecure.exe

(ServiceSecure -- srvsec.exe)

enables you to reset service passwords by specifying the username and password rather than having to specify the service names themselves or changing the password manually.
Password changes of user accounts that are being used for services no longer have to be feared. Just run ServiceSecure and tell it what username has changed to what password, the rest is done automatically. ServiceSecure even restarts services (optional) after the password has been changed.
With ServiceSecure you can literally change the password of service accounts in seconds on multiple machines (when used in a batch file).

[ Last edited by uiopuiop on 2008-9-4 at 09:51 AM ]
Floor 6 Posted 2008-09-03 22:23 ·  中国 重庆 巫山县 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
There are hundreds of tools in the Windows Resource Kits. Does the original poster post his study notes one by one for everyone to learn?
Floor 7 Posted 2008-09-03 22:24 ·  中国 江苏 苏州 电信
初级用户
★★
Credits 195
Posts 93
Joined 2006-10-28 08:20
19-year member
UID 68626
Gender Male
Status Offline
gawk sed nircmd rar are all useful things
Floor 8 Posted 2008-09-03 22:36 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
Originally posted by HAT at 2008-9-3 10:23 PM:
There are hundreds of tools in the Windows Resource Kits. The thread starter, can you post your study notes one by one for everyone to learn?


First introduce one:

@echo off
rem Reset remote local admin password, by UIOPUIOP
cls
for /f %%i in (Reset_List.txt) do (
echo resetting password for %%i, please wait.....
cusrmgr.exe -u Administrator -m \\%%i -P P@SSWORD>>Results.log
)
Floor 9 Posted 2008-09-03 22:46 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
DOS2UNIX and UNIX2DOS

http://www.bastet.com/

DOS2UNIX.EXE converts MS-DOS text files to Unix format by removing any carriage return (CR) or end-of-file (Ctrl-Z) characters from the data. UNIX2DOS.EXE inserts a carriage return (CR) character when it encounters a line feed (LF) character, converting the data to MS-DOS format.
Floor 10 Posted 2008-09-04 05:39 ·  中国 湖北 武汉 联通
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline
http://www.nirsoft.net

There are many good command-line tools here.
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
523066680 +15 2008-11-23 09:15
Floor 11 Posted 2008-09-04 09:33 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
Timo Salmi is a professor at the University of Vaasa in Finland, and he has collected some very good command-line tools that are accessible to the public. Below are the seven tools I like most in this collection of free software, which Salmi calls Garbo.

CHOOSE: Used for batch processing of files, it is a new version of the original CHOICE command. Since Windows 2000, XP, and Server 2003 no longer support the CHOICE command, CHOOSE is very useful.

DELE: A type of command-line that can replace the DEL function. Using DELE does not directly delete files but moves them to a specified recycle bin folder, and files can be restored if needed. If you need to use the DEL command in batch files or other automatically running files, you can consider using DELE as a substitute.

FILEAGE: Used to view the age of files; if you don't want to judge by calculating the file dates (especially when dealing with irregular months or leap year dates), using FILEAGE will be very convenient.

FULLNAME: This is an additional context menu that generates a DOS dialog box with the full path of the target file.

RECENT: Searches folders for recent files. For example, find all files modified after 3 PM today, or only search for files created yesterday.

WHEREIS: Finds where a specified file or set of files are on the drive. The search results can be sorted by date, and hidden files can also be searched.

XPMOVE: When an old folder with the same name is found in the target folder, it can be used to move files from the old folder to the target file. This software is a simplified version of a tool, similar to Microsoft's SyncToy (Personal Favorites), except that it does not perform recursive processing in multiple folders.

http://garbo.uwasa.fi/
Floor 12 Posted 2008-09-04 09:35 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
处理DOS、Windows、UNIX或MAC文本文件(以及混合类型)处理固定长度记录的三种关键类型:区分大小写的字符串、不区分大小写的字符串、数字支持多部分键每个(部分-)键可定义为升序或降序可选忽略空白或空记录可选忽略具有重复键的记录可选忽略具有重复键的记录并将它们写入单独文件选择临时文件路径调整物理内存的使用2到5路合并可选排除排序的标题行http://www.chmaas.handshake.de/delphi/freeware/cmsort/cmsort.htm
Floor 13 Posted 2008-09-04 09:42 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
http://support.microsoft.com/kb/q232243/

Uptime.exe is used to display system availability. It can show the current uptime of the local or remote system. Optionally, it can scan the event log for key system events like system restart or unresponsive (hanging) computers. It also calculates system availability when feasible.
Floor 14 Posted 2008-09-04 09:46 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
When logging in as a non-administrator user, if you want to run a program with administrator privileges, you need to use the runas command.

Using lsrunase, an enhanced version of lsrunas, you can use encrypted passwords. There is a small software LSencrypt included to generate encrypted strings.

Usage:
lsrunase /user:administrator /password:41BngA== /domain: /command:notepad.exe /runpath:c:\

All parameters must be complete. Among them:
user is the account to run
password is the encrypted string of the password
domain is the machine name or domain name, which can also be left blank to represent the local machine
command is the name of the program to run. If it carries parameters, quotes need to be added at the beginning and end of the command
runpath is the startup path of the program

Feature: It can perfectly replace runas and avoid directly saving the password in plain text in the script.

Related page:
http://www.moernaut.com/default.aspx?item=lsrunase
Floor 15 Posted 2008-09-04 09:49 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 400
Posts 211
Joined 2007-09-30 18:02
18-year member
UID 98650
Gender Male
Status Offline
一些用于自动化脚本编写的命令行网络管理工具:

http://www.optimumx.com/

账户管理器(AccountManager.exe)
内置账户管理器(BuiltIn.exe)
清理工具(CleanUp.exe)
掩盖踪迹(Cyt.exe)
删除配置文件(DeleteProfiles.exe)
清空回收站(EmptyRecycleBin.exe)
退出Windows(ExitWindows.exe)
IE缓存清理(IECache.exe)
ini工具(iniTool.exe)
内存检查(MemCheck.exe)
消息框工具(MessageBox.exe)
修改配置文件(ModifyProfile.exe)
网络别名(NetAlias.exe)
网络密码期限(NetPWAge.exe)
网络服务器注释(NetComment.exe)
网络速度测试(NetSpeed.exe)
网络用户查询(NetUsers.exe)
网络查看(NetView.exe)
随机数生成器(Random.exe)
设置短文件名(SetSFN.exe)
设置墙纸(SetWallpaper.exe)
shell执行工具(ShellExecute.exe)
快捷方式工具(Shortcut.exe)
Windows文件保护查询(WFPQuery.exe)
1 2 3 7 Next ›
Forum Jump: