中国DOS联盟

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

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

中国DOS联盟论坛
现在时间是 2026-08-03 22:46
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Vista 下的新命令行工具 查看 842 回复 2
楼 主 Vista 下的新命令行工具 发表于 2007-03-28 10:36 ·  中国 四川 成都 教育网
中级用户
★★
积分 346
发帖 103
注册 2004-04-06 00:00
22年会员
UID 21852
性别 男
状态 离线
New Command Line Tools in Vista Beta 2

原文地址:
http://computerbits.wordpress.com/2006/07/21/new-command-line-tools-in-vista-beta-2/


Posted by amida168 on July 21st, 2006

As a system admin with developer’s background, I like to write scripts utilizing command line tools to automate admin tasks. With the release of Windows Vista Beta 2, I was wondering about what new command line tools are available. I spent several hours yesterday to find out the new additions. Note that some of them are not “new” such as auditpol and robocopy. They were available as resource kit tools, but now they are part of Vista as default installation. Here is the list and their descriptions.

auditpol AuditPol.exe is a command-line tool used to modify audit polices from command line.
bcdedit Boot Configuration Data Store Editor
bitsadmin BITS administration utility.
change Changes terminal server settings for logons, COM port mappings, and install mode. The following three commands are related to this one.
chglogon Enable or disable session logins. eg: change logon .
chgport List or change COM port mappings for DOS application compatibility. eg: change port .
chgusr Change Install Mode. eg: change user .
choice This tool allows users to select one item from a list of choices and returns the index of the selected choice.
clip Redirects output of command line tools to the Windows clipboard. This text output can then be pasted into other programs.
cmdkey Creates, displays, and deletes stored user names and passwords.
diskraid Launches the Diskraid application.
dispdiag Display Diagnostics
forfiles Selects a file (or set of files) and executes a command on that file. This is helpful for batch jobs.
icacls Updated version of cacls. Displays or modifies access control lists (ACLs) of files
iscsicli Microsoft iSCSI Initiator
muiunattend MUI Unattend Action
netcfg WinPE Network Installer
ocsetup Windows Optional Component Setup
pkgmgr Windows Package Manager
pnpunattend AuditSystem, Unattend online driver install
pnputil Microsoft PnP Utility
query QUERY { PROCESS | SESSION | TERMSERVER | USER }
quser Display information about users logged on to the system.
robocopy Robust File Copy for Windows
rpcping Pings a server using RPC.
setx Creates or modifies environment variables in the user or system environment. Can set variables based on arguments, regkeys or file input.
sxstrace WinSxs Tracing Utility.
takeown This tool allows an administrator to recover access to a file that was denied by re-assigning file ownership.
timeout This utility accepts a timeout parameter to wait for the specified time period (in seconds) or until any key is pressed. It also accepts a parameter to ignore the key press.
tracerpt Microsoft TraceRpt
waitfor This tool sends, or waits for, a signal on a system. When /S is not specified, the signal will be broadcasted to all the systems in a domain. If /S is specified, then the signal will be sent only to the specified system.
wbadmin Backup command-line tool
wceutil Windows Event Collector Utility
wevtutil Windows Events Command Line Utility.
where Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable.
whoami This utility can be used to get user name and group information along with the respective security identifiers (SID), privileges, logon identifier (logon ID) for the current user (access token) on the local system. i.e. who is the current logged on user? If no switch is specified, tool displays the user name in NTLM format (domain\username).
winrm Windows Remote Management
winrs Windows Remote Shell
winsat Windows System Assessment Tool

This entry was posted on Friday, July 21st, 2006 at 6:37 pm and is filed under Vista. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
2 发表于 2007-03-29 01:43 ·  中国 湖北 武汉 电信
版主
★★★★★
积分 11,386
发帖 4,938
注册 2006-07-23 17:10
20年会员
UID 59080
状态 离线

沙发,顶一个~

不知道estar兄能否将一些工具移植到xp下面来用?
3 发表于 2007-03-30 02:23 ·  中国 广东 广州 天河区 电信
金牌会员
★★★★
一叶枝头,万树皆春
积分 2,564
发帖 1,127
注册 2006-12-25 22:57
19年会员
UID 74552
性别 男
状态 离线
看不懂,有没有支持IP与时间运算的
论坛跳转: