MS-DOS – Windows 命令提示符(Windows 95、98、XP、Vista & 7)

其中大部分 MS DOS 命令,用于操作系统 Windows XP。其中一些很可能无效 Windows VistaWindows 7。  您会在下面的列表中注意到其中一些以 /?桌子。  “/?”在命令行的末尾,它将显示包含该命令的所有特征的表格。

一个

添加用户 – 在 CSV 文件中添加或列出用户(仅限 XP)

系统 – 定义更改显示图形、控制光标移动和重新分配按键的功能

在* – 使用户能够安排在指定时间和日期执行的任务

附加 – 与 PATH MS-DOS 命令类似,append 命令使用户能够打开指定目录中的文件,就像它们在当前目录中一样

appwiz.cpl – 启动、添加或删除程序和 Windows 组件

ARP – 显示、添加和删除 arp  来自网络设备的信息

助理 – assoc 命令显示计算机上每个不同文件扩展名的文件关联

联系 – 一步文件关联

属性 – Attrib 允许用户更改指定文件的属性,即只读、存档、隐藏和系统

启动配置文件 – bootcfg 命令是一个恢复控制台命令,使用户能够重建、查看或以其他方式更改 boot.ini 文件

浏览器 – 获取域、浏览器和 PDC 信息

c

cacls.exe – cacls 命令使用户能够查看和修改文件的 ACL

称呼 – 从一个批处理程序调用另一个批处理程序,而不停止父批处理程序
(调用/?表)

证书请求 – 向证书颁发机构请求证书(certreq /? TABLE)

证书工具 – Certutil.exe 是一个命令行程序,作为证书服务的一部分安装(certutil /? TABLE)

chcp程序 – (在使用chcp命令之前,必须加载nlsfunc,并且必须将country.sys加载到config.sys中)chcp命令用于补充国际键盘和字符集信息,允许MS-DOS在其他国家和不同语言下使用

光盘 & 目录means to change the directory in MSDos (For example chdir\ & cd\ take you to the highest level of the drive, chdir.. & cd..返回一等)

chkdsk.exe – Chkdsk 是一个检查计算机硬盘驱动器的实用程序’ 硬盘驱动器的任何交叉链接或任何其他错误的状态

chknfts.exe – chkntfs命令用于显示或修改使用NTFS的磁盘驱动器的检查  在启动时

选择 – 该工具允许用户从选项列表中选择一项并返回所选选项的索引。 (选择/?表)

密码程序 – 显示或更改 NTFS 分区上目录[文件]的加密
(更多命令如Cipher /e、cipher /d等… 错误输入 1 来获取列表… 使用密码/R)

夹子 – 将命令行工具的输出重定向到 Windows 剪贴板。然后可以将该文本输出粘贴到其他程序中。 (剪辑/?表)例如目录 |夹子

CLS – 清除 dos 窗口上写入的所有内容

颜色 – color 命令使运行 Microsoft Windows 2000 和 Windows XP 的用户能够快速、轻松地更改 MS-DOS 窗口中的背景和/或文本的默认颜色,例如颜色 0a

比较 – 比较两个或多个文件的简单比较  下表:

数据1      指定要比较的第一个文件的位置和名称。
数据2     指定要比较的第二个文件的位置和名称。
/D     以十进制格式显示差异。
/一个     显示 ASCII 字符的差异。
/升     显示差异的行号。
/N=数字     仅比较每个文件中第一个指定的行数。
/C     比较文件时忽略 ASCII 字母的大小写。
如果您想比较大小以外的任何内容,则必须选择 /N

袖珍的 – Compact 是一个 MS-DOS 命令,用于压缩、解压缩和查看压缩文件 下表:
/C      压缩指定的文件。目录将被标记,以便随后添加的文件将被压缩。
/U     解压缩指定的文件。目录将被标记,以便之后添加的文件不会被压缩。
/S     对给定目录及其所有子目录中的文件执行指定的操作。默认“目录" 是当前目录。
/一个     显示具有隐藏或系统属性的文件。默认情况下会忽略这些文件。
/我     即使发生错误后仍继续执行指定的操作。默认情况下,COMPACT 在遇到错误时停止。
/F     强制对所有指定文件进行压缩操作,甚至是那些已经压缩的文件。默认情况下会跳过已压缩的文件。
/Q     仅报告最重要的信息。
文件名     指定模式、文件或目录。

转变 – 转换  FAT 卷到 NTFS 列表如下:
体积      指定驱动器号(后跟冒号)、安装点或卷名称。
/FS:NTFS     指定要转换为 NTFS 的卷。
/V     指定 Convert 应在详细模式下运行。

复制 – 完成了 ctrl+c 所做的事情,但是在 DOS 中

compmgmt.msc* – 查看和配置系统设置和组件

CMD – 打开命令提示符窗口

control.exe 系统 – 查看有关计算机系统设置的基本信息

CSVDE – 使用以逗号分隔值 (CSV) 格式存储数据的文件从 Active Directory 导入和导出数据。还可以支持基于CSV文件格式标准(CSVDE/?TABLE)的批量操作

d

日期 – 向您显示该日期(它要求您输入“新" 日期)

dcgpofix – 将默认组策略对象恢复到其原始状态(即初始安装后的默认状态)(dcgpofix /? TABLE)

调试Debug is a method of looking at portions of your computer and writing assembly code to perform certain tasks on your compute example: debug C:\windows (press Q to exit debug)

碎片整理* – 整理计算机碎片! (defrag /? TABLE) 注意:你想每个月左右执行一次此操作,或者至少我这样做…

dfscmd – 从命令行管理分布式文件系统(dfscmd /?TABLE)

– 用于从计算机中删除文件

德尔特里 – deltree 是删除树的缩写,是一个用于  删除   文件和目录  永久从计算机中

dir – dir 命令允许您查看当前和/或父目录中的可用文件

禁用 – 禁用命令是一个恢复控制台命令,用于禁用 Windows 系统服务或驱动程序示例:disable <服务名称> SERVICE_AUTO_START

磁盘压缩 – 将源驱动器中软盘的内容与目标驱动器中软盘的内容进行比较

磁盘复制 – diskcopy 实用程序允许用户将一张软盘的全部内容复制到另一张软盘。不建议将diskcopy 命令用于软盘以外的任何内容。下表:
DISKCOPY [驱动器1: [驱动器2:]] [/1] [/V] [/M]
/1     仅复制磁盘的第一面。
/V     验证信息是否正确复制。
/米     仅使用内存强制进行多遍复制。

磁盘 – diskpart 命令是一个恢复控制台命令,使用户能够在其计算机上删除和创建分区
磁盘部分[/添加| /删除] [设备名称 |驱动器名称 |分区名称] [大小]
/添加     创建一个新分区。
/删除     删除现有分区。
设备名称     您要在其上创建或删除分区的设备。该名称可以从 map 命令的输出中获取。
驱动器名称     您要删除的分区(按驱动器号)。仅与/delete 一起使用。
分区名称      您要删除的分区,按分区名称。可以用来代替drive_name。仅与/delete 一起使用。
尺寸     您要创建的分区的大小(以兆字节 (MB) 为单位)。仅与/add 一起使用。

多斯基 – Doskey 是一个 MS-DOS 实用程序,允许用户保留计算机上使用的命令的历史记录。这允许使用经常使用的命令,而无需每次需要使用时都键入命令,如下表:
/BUFSIZE:大小      设置宏和命令缓冲区的大小      (默认值:512)
/ECHO:开|关     启用/禁用宏扩展的回显     (默认值:打开)
/文件:文件     指定包含宏列表的文件    
/历史     显示内存中存储的所有命令    
/插入     键入时在行中插入新字符    
/KEYSIZE:大小     设置键盘预输入缓冲区的大小     (默认值:15)
/线:尺寸     设置行编辑缓冲区的最大大小     (默认值:128)
/宏     显示所有 DOSKey 宏    
/三振出局     键入时将新字符覆盖到行上     (默认)
/重新安装     安装 DOSKey 的新副本    
宏名     指定您创建的宏的名称    
文本     指定要分配给宏的命令

驱动查询 – 使管理员能够显示已安装设备驱动程序的列表(driverquery /? TABLE)

e

回声Echo is used to repeat the text typed in back to the screen and/or can be used to echo to a peripheral on the computer, such as a COM port

编辑Edit allows a user to view, create, and/or modify their computer files (Use
edit /? the get the TABLE)

EdlinEdlin is an early version of the MS-DOS edit command. While not as easy as the edit command, edlin allows the user to crudely edit files (edit /? TABLE)

使能够The enable command is a recovery console command to enable a disabled service or driver e.g. enable <servicename> SERVICE_SYSTEM_START

endlocalStops the localization of the environment changes enabled by the setlocal command (Use endlocal /? for full description)

eraseErase is a command used to remove files from your computer’s hard disk drive and or other writable media (Use erase /? for TABLE)

eventcreateThis commans line tool enables an admin to create a custom event ID and message in a specific event log. (eventcreate /? TABLE)

出口exits dos

expandThe expand command is use to take a compressed Windows file and "expand" it to its original format (Use expand /? for full TABLE)

extractThe Windows extract command is used to take files that are compressed in a Windows Cabinet file and place it into a specified location on the hard disk drive (Use extract /? for a bit Ohistory provided at the bottom, as well as the TABLE)

事件管理程序View monitoring and troubleshooting messages

f

FCFC, or file compare, is used to compare two files against each other. Once completed, fc will return lines which differ between the two files. If no lines differ, you will receive a message indicating no differences encountered (Use FC /? for TABLE)
e.g. "fc c:\autoexec.bat c:\config.sys"

寻找Allows you to search for text within a file. Although MS-DOS itself is not case sensitive, when typing in the string that you are looking for with the find command, it is case sensitive (Use find /? for TABLE)

findstrThe findstr command is short for find string and is a command used in MS-DOS to locate files containing a specific string of plain text (Use findsrt /? for TABLE)
e.g. findstr "computer help" myfile.txt

fingerDisplays info about a user on a specified system running the Finger service. Output varies based on the remote system. (finger /?)

fixbootThe fixboot command is a recovery console command that creates a new partition boot sector; the fixboot command is only available when you are using the Recovery Console e.g. fixboot C:

FORThe FOR variable is used for batch files to run a specified command when a parameter is met or specified (Use FOR /? for description)

forfilesselects a file (or set of files) and executes a command on that file, helpful for batch jobs. (forfiles /?)

格式Format is used to erase  all of the information off of a computer diskette or fixed drive e.g. format a: would erase all the contents off a disk. Commonly used on a diskette that has not been formatted or on a diskette you wish to erase (Use format /?
don’t be an idiot and type format C: and follow throught with it, this will delete everything off of your C: wich, by deafult, is your main drive).

fsutilFsutil is a command-line utility that you can use to perform many tasks related to file allocation table (FAT) and NTFS file systems, such as managing reparse points, managing sparse files, or dismounting a volume (fsutil /? TABLE)

文件传输协议FTP is short for File Transfer Protocol, this page contains additional information about the FTP command and help using that command in Unix and MS-DOS
(Use FTP /?)

ftypeDisplays or modifies file types used in file extension associations (fytpe /?)

G

getmacThis tool enables an admin to display the MAC address for the network adapters on a system (getmac /? TABLE)

gotoMoves a batch file to a specific label or location, enabling a user to rerun a batch file or skip other lines depending on user inputs or events (Use goto /?)

gpedit.msc. The local Group Policy editor appears on the screen, enabling you to adjust policies that affect the local machine

gpresultThis command line tool displays the Resultant Set of Policy (RSoP) info for a target user or computer (gpresult /? TABLE)

gpupdateRefreshes the local computers policy and any Active Directory-based Group policies (Use gpupdate /? for TABLE.

graftablGraftabl command allows the display to show extended characters in graphics mode from a specific code page. Most monitors do not need the graftabl command to be loaded (Use graftabl /? for TABLE)

h

帮助accomplished what /? does e.g. Help cls

hostnameDisplay the hostname of the machine the command is being run on

IFAllows for batch files to perform conditional processing (IF /? for TABLE)

inetcpl.cplView Internet explorer settings

ipconfig.exeView and configure network address settings (Use ipconfig.exe /all for advanced options)

K

keybKeyb is used to change the layout of the keyboard used for different countries (not supported with XP or VISTA; NT, 98, 95 only)

l

标签Label is used to view or change the label of the computer disk drives (label /?
e.g. label a: mydisk)

loadfixLoads a program above the first 64K of memory, and runs the program
(loadfix /? for TABEL) e.g. loadfix C:\Mouse\Mouse.com

Lock/Unlock 命令 – LOCK allows a user to lock a drive, enabling direct disk access for an application.UNLOCK allows a users to unlock a drive, disabling direct disk access for an application (Win 98 & 95 ONLY)

lodctrUpdates registry values related to preformance counters (lodctr /? TABLE)

注销The logoff command is an external command that allows a user to quickly logoff their computer from the command line or within a batch file (Note: does not prompt you)

登录The logon command is a recovery console command that lists the installations of Windows 2000 / Windows XP and requests the local administrator password for those installations

logmanManages and schedules performance counter and event trace log collections on local and remote systems (logman /? TABLE)

m

mapThe map command is a recovery console command that displays the physical device name of a drive letter

memAllows you to determine the available, used and free memory (mem /? TABLE)

md/ mkdirAllows you to create your own directories in MS-DOS e.g. md test example creates the "test" directory in the directory you are currently in and md C:\test Creates the "test" directory in the c:\ directory (md /? TABLE)

modeMode status is used to view and/or modify a port or display setting
(mode /? TABLE)

moreMore allows information to be displayed one page at a time (more /? TABLE)
e.g. dir | more and more myfile.txt

mountvolCreates, deletes, or lists a volume mount point (mountvol /? TABLE)

moveAllows you to move files or directories from one folder to another, or from one drive to another (more /? TABLE) e.g. move c:\windows\temp\*.* c:\temp

mscdexMscdex is a CD-ROM "redirector" that enables CD-ROM access from the MS-DOS

msinfo32.exedisplays advanced info about hardware and software settings

msra.exeReceve help from (or offer help to) a friend over the internet

n

netThe net command is used to update, fix, or view the network or network settings
(Net /? TABLE) e.g.  net view \\hope and net localgroup

网什MS-DOS command that enables users to change network settings such as changing their network device from a dynamic address to a static address or changing the IP address (netsh /? TABLE) e.g. netsh dump (don’t be stupid and hit enter)

netstatThe netstat command is used to display the  TCP/IP network protocol statistics and information (netstat /? TABLE) e.g. netstat -ban

nlsfuncUsed to load country specific information (nlsfunc /? TABLE) e.g. Below:
nlsfunc a:\lang\Spain.dat (don’t unless you’re fluent in spanish)

nslookupMS-DOS utility that enables a user to look up an IP address of a domain or host on a network (nslookup /? TABLE) Note: type ‘quitto stop nslookup

o

openfilesEnables an admin to lost or disconnect files and folders that have been opened on a system (openfiles /? TABLE)

p

小路Path is used to specify the location where MS-DOS looks when using a command
(path /? TABLE) e.g. path=c:\windows\command

pathpingSimilar to the tracert command, pathping  provides users with the ability of locating spots that have network latency and network loss (pathping /? TABLE)
e.g. pathping trapped.com

pauseThe pause command is used within a computer batch file and allows the computer to pause the currently running batch file until the user presses any key

perfmon.exe*Monitor the reliability and preformance of local or remote computers (Use preform.exe /report for advanced settings)

Helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them (ping /? TABLE) e.g. ping localhost

popdChanges to the directory or network path stored by the pushd command
(popd /? TABLE)

PowerCFGThis command line tool enables users to control the power settings on a system (powercgf /? TABLE)

打印This command allowed users to print a text file to a line printer, in the background (print /? TABLE) e.g. print C:\file.txt /c /d:lpt1

promptAllows you to change the MS-DOS prompt to display more or less information
(prompt /? TABLE, MUST USE!!)

pushdStores a directory or network path in memory so it can be returned to at any time (pushd /? TABLE) e.g. pushd ..

r

rasdialnot sure actually, but rasdial /? provides some info and a link that you can use for more information.

rd/ rmdirRemoves empty directories in MS-DOS e.g.
rd C:\users\John_smith\appdata\temp\av19023

recoverRecovers readable info from a bad or defective disk (recover /? TABLE)

RegCommand line registry tool that enables you to change, display, update, and otherwise manipulate the registry from the prompt (reg /? TABLE)

regedit32.exe*Makes changes to the Windows registry.

remRecords comments (remarks) in a batch file or CONFIG.SYS (rem /? TABLE)

ren/ renameUsed to rename files and directories from the original name to a new name
(ren /? TABLE) e.g. ren c:\chope hope

relogRelog creates new preformance logs from data in existing preformance logs by changing the sampling rate and/or converting the file formate. Supperts all preformance log formats, including windows NT 4.0 compressed logs. (relog /? TABLE)

代替Replaces files (replace /? TABLE)

路线Use the command to manually configure the routes in the routing table (route /? TABLE)

rstrui.exe*restore your computer system to an eariler state

演讲Enables a user to execute a program on another computer as yourself or as another user (runas /? TABLE)

s

scandiskScandisk is designed to check the integrity of a computer hard disk drive to verify that there are no significant issues which could cause issues with your computer data (scandisk /? TABLE) e.g. scandisk /all

SCSC is a command line program used for communicating with the Service Control Manager and services. (SC /? TABLE)

scanregUsing Scanreg a user can backup his or her registry manually and or allow Windows to backup the registry daily (default) FOR WINDOWS 98 AND ME

seceditConfigures and analyzes system security by comparing your current configuration to at least one template (secedit /? TABLE)

Allows you to change one variable or string to another (set /? GIANT TABLE)
e.g. set path=c:windows\command

setlocalEnables local environments to be changed without affecting anything else
(setlocal /? TABLE)

setverFor setver to work, setver.exe device must be loaded in the config.sys.Setver is used to imitate the version of DOS in case an application was unable to run because of a newer version of MS-DOS. (setver /? TABLE) e.g. setver 4.01

setxSetx creates or modifies environment variables in the user or system environment. Can set variables based on arguments, regkeys, or file input (setx /? TABLE)

SFCScans and replaces any Microsoft Windows file on the computer and replaces any changed file with the correct version (sfc /? TABLE) e.g. sfc /scannow

分享Installs support for file sharing and locking capabilities (share /? TABLE)

转移Changes the position of replaceable parameters in a batch program (shift /? TABLE)

关闭Enables a user to shutdown a Windows XP computer from the command line as well as perform additional features that are not available through Windows
(shutdown /? for cool features)

sortSorts the input and displays the output to the screen (sort /? TABLE)
e.g. sort test.txt

开始Enables a user to start a separate window in Windows from the MS-DOS prompt
(start /? GIANT TABLE)

substAllows you to substitute a folder on your computer for another drive letter
(subst /? TABLE) e.g. subst a:.

systeminfoDisplays complete system information (XP Professional and Vista ONLY)
(systeminfo /? TABLE)

systemrootThe systemroot command is a recovery console command that sets the current directory as the system root  directory (Win 2000 and XP only)

t

takeownThis tool allows an admin to recover access to a file that was denied by re-assigning file ownership (takeown /? TABLE)

taskmgr.exeViews details about programs and processes running on your computer

taskkillAllows user to kill a task from a MS-DOS prompt. (XP Pro and Vista ONLY)
(taskkill /? TABLE) e.g. taskkill /f /im notepad.exe

任务列表This tool displays a list of currently running processes on either a local or remote machine. (tasklist /? TABLE)

远程登录Enables a user to telnet  to another computer from the command prompt (telnet /? TABLE) e.g. telnet myhost.com

timeAllows the user to view and edit the computer’s time

暂停Pauses the command processor for the specified number of seconds (timeout /? TABLE)

tracertThe tracert command is used to visually see a network packet being sent and received and the amount of hops required for that packet to get to its destination
(tracert /? TABLE)

tracerptProcesses event trace logs or real-time data from instrumented event trace providers and allows you to generate trace analysis reports and CSV (comma-delimited) files for the events generated (tracerpt /? TABLE)

treeAllows the user to view a listing of files and folders in an easy to read listing (tree /? TABLE)

typeAllows the user to see the contents of a file (Type /? TABLE) e.g. type c:\autoexec.bat

typeperfWrites performance counter data to the command window, or to a supported log file format. To stop Typeperf, press CTRL+C (typeperf /? TABLE)

V

verDisplays the version of MS-DOS or if running Windows 95 or above the version of Windows

verifyEnables or disables the feature to determine if files have been written properly (verify on or verify off)

volDisplays the volume information about the designated drive e.g. vol c:

vssadminDisplays current volume shadow copy backups and all installed shadow copy writers and providers in the command window

w

W32tmA tool used to diagnose problems occuring with Windows Time (W32tm /? TABLE)

waitforSynchronizes multiple computers across a network by using signals (waitfor /? TABLE)

whereLocates and displays all of the files that match the given parameter. By default, the search is done in the current directory and in the PATH environment variable (where /? TABLE)

whoamiReturns domain name, computer name, user name, group names, logon identifier, and privileges for the user who is currently logged on (whoami /? TABLE)

winver.exedisplays info about MS OS

wscui.cplView and configure the security essentials for your computer

x

xcopyXcopy is a powerful version of the copy command with additional features; has the capability of moving files, directories, and even whole drives from one location to another (xcopy /? TABLE) e.g. xcopy c:\temp /e

Comenzile se pot lansa din 跑步 或来自 命令提示

创始人兼编辑 隐形设置, din 2006 pana in prezent. Experienta pe sistemele de operare Linux (in special CentOS), Mac OS X , Windows XP > Windows 10 Si WordPress(CMS)。

1 在“MS-DOS – Windows 命令提示符(Windows 95、98、XP、Vista & 7)”

  1. Pingback: Curatati DNS Cache pentru a va proteja confidentialitatea. (Clean, Enable, Disable DNS Cache - Windows XP, Vista & Windows 7) » 隐形设置
留下你的评论