批处理脚本 - 帮助



此批处理命令显示 Windows 提供的命令列表。

语法

help

示例

@echo off 
help

输出

上述命令将显示所有命令及其描述的列表。以下是输出子集的示例。

SCHTASKS    Schedules commands and programs to run on a computer. 
SHIFT       Shifts the position of replaceable parameters in batch files. 
SHUTDOWN    Allows proper local or remote shutdown of machine. 
SORT        Sorts input. 
START       Starts a separate window to run a specified program or command. 
SUBST       Associates a path with a drive letter. 
SYSTEMINFO  Displays machine specific properties and configuration. 
TASKLIST    Displays all currently running tasks including services. 
TASKKILL    Kill or stop a running process or application. 
TIME        Displays or sets the system time. 
TITLE       Sets the window title for a CMD.EXE session. 
TREE        Graphically displays the directory structure of a drive or path.
TYPE        Displays the contents of a text file. 
VER         Displays the Windows version. 
VERIFY      Tells Windows whether to verify that your files are written correctly to a disk. 
VOL         Displays a disk volume label and serial number. 
XCOPY       Copies files and directory trees. 
WMIC        Displays WMI information inside interactive command shell.

For more information on tools see the command-line reference in the online help.
batch_script_commands.htm
广告