cmd commonly used commands
CMD commands under 2K and XP
accwiz.exe> ​​Accessibility Wizard
acsetups.exe> ​​acs setup dcom server executable
actmovie.exe> ​​Display installation tool directly
append.exe> ​​allows the program to open the data in the specified directory
arp.exe> ​​Display and change the corresponding list of computer IP and hardware physical address
at.exe> ​​Schedule task
atmadm.exe> ​​Call manager statistics
attrib.exe> ​​Display and change file and folder properties
autochk.exe> ​​Detect and repair the file system
autoconv.exe> ​​Automatically convert the system during startup
autofmt.exe> ​​Format process during startup
autolfn.exe> ​​Use long file name format
bootok.exe> ​​boot acceptance applicaTIon for registry
bootvrfy.exe> ​​Report successful startup
cacls.exe> ​​display and edit acl
calc.exe> ​​calculator
cdplayer.exe> ​​cd player
change.exe> ​​query related to terminal server
charmap.exe> ​​Character map
chglogon.exe> ​​Start or disable session recording
chgport.exe> ​​Change port (terminal service)
chgusr.exe> ​​Change user (terminal service)
chkdsk.exe> ​​Disk detection program
chkntfs.exe> ​​Disk detection program
cidaemon.exe> ​​ci document service
cipher.exe> ​​Display or change encrypted files or directories on ntfs
cisvc.exe> ​​Index content
ckcnv.exe> ​​Transform cookie
cleanmgr.exe> ​​Disk cleanup
cliconfg.exe> ​​sql customer network tool
clipbrd.exe> ​​scrapbook viewer
clipsrv.exe> ​​Run the clipboard service
clspack.exe> ​​Create a list of system files
cluster.exe> ​​show the cluster of the domain
_cmd_.exe> ​​There is nothing to say!
cmdl32.exe> ​​Automatic download connection management
cmmgr32.exe> ​​connection manager
cmmon32.exe> ​​connection manager monitoring
cmstp.exe> ​​connection manager configuration file installer
comclust.exe> ​​cluster
comp.exe> ​​Compare the contents of two files and file sets *
compact.exe> ​​Display or change the compression status of files on the ntfs partition
conime.exe> ​​ime console
control.exe> ​​Control Panel
convert.exe> ​​convert file system to ntfs
convlog.exe> ​​Convert iis log file format to ncsa format
cprofile.exe> ​​switch display mode
cscript.exe> ​​compare to the host version
csrss.exe> ​​client server runTIme process
csvde.exe> ​​Japanese to format conversion program
dbgtrace.exe> ​​related to terminal server
dcomcnfg.exe> ​​dcom configuration properties
dcphelp.exe>?
dcpromo.exe> ​​ad installation wizard
ddeshare.exe> ​​dde share
ddmprxy.exe>
debug.exe> ​​is debug!
dfrgfat.exe> ​​Fat partition disk defragmentation program
dfrgntfs.exe> ​​ntfs partition disk defragmenter
dfs_cmd_.exe> ​​configure a dfs tree
dfsinit.exe> ​​Distributed file system initialization
dfssvc.exe> ​​distributed file system server
diantz.exe> ​​make cab file
diskperf.exe> ​​Disk performance counter
dllhost.exe> ​​the main process of all com + application software
dllhst3g.exe>
dmadmin.exe> ​​Disk management service
dmremote.exe> ​​Part of the disk management service
dns.exe> ​​dns applicaTIons dns
doskey.exe> ​​Command line to create a macro
dosx.exe> ​​dos extension
dplaysvr.exe> ​​Direct help
drwatson.exe> ​​Dr. Watson error detection
drwtsn32.exe> ​​Dr. Watson display and configuration management
dtcsetup.exe> ​​installs mdtc
dvdplay.exe> ​​dvdplay
dxdiag.exe> ​​direct-x diagnostic tool
edlin.exe> ​​Command line text editor (has a long history!)
edlin.exe> ​​Command line text editor (has a long history!)
esentutl.exe> ​​ms database tool
eudcedit.exe> ​​type word making program
eventvwr.exe> ​​Event viewer
evnt_cmd_.exe> ​​event to trap translator; configuraTIon tool
evntwin.exe> ​​event to trap translator setup
exe2bin.exe> ​​Convert exe file to binary
expand.exe> ​​unzip
extrac32.exe> ​​solution cab tool
fastopen.exe> ​​Fast access to hard disk files in memory
faxcover.exe> ​​Fax cover editor
faxqueue.exe> ​​Show fax queue
faxsend.exe> ​​Send Fax Wizard
faxsvc.exe> ​​Start the fax service
fc.exe> ​​Compare the difference between two files
find.exe> ​​Find text lines in a file
findstr.exe> ​​Find lines in file
finger.exe> ​​a user and display statistics
fixmapi.exe> ​​repair mapi file
flattemp.exe> ​​Allow or disable temporary file directory
fontview.exe> ​​Display fonts in font files
forcedos.exe> ​​forces a file to start in dos mode. Forced file to start in dos mode.
freecell.exe> ​​popular windows game FreeCell Solitaire
ftp.exe> ​​file transfer protocol used to transfer files over a network conne
ction is ftp
gdi.exe> ​​graphic device interface graphic interface driver
grovel.exe>
grpconv.exe> ​​program manager group convertor
help.exe> ​​displays help for windows 2000 commands
hostname.exe> ​​display hostname for machine. display the hostname of the machine
ie4uinit.exe> ​​ie5 user install tool ie5 user install tool
ieshwiz.exe> ​​customize folder wizard
iexpress.exe> ​​create and setup packages for install
iisreset.exe> ​​restart iis admin service restart iis service
internat.exe> ​​keyboard language indicator applet keyboard language indicator applet
ipconfig.exe> ​​windows 2000 ip configuration. View ip configuration
ipsecmon.exe> ​​ip security monitor ip security monitor
ipxroute.exe> ​​ipx routing and source routing control program ipx routing and source routing
control program
irftp.exe> ​​setup ftp for wireless communication wireless connection
ismserv.exe> ​​intersite messaging service install or remove service control manage
Services in r
jdbgmgr.exe> ​​microsoft debugger for java 4 java4 debugger
jetconv.exe> ​​convert a jet engine database
jetpack.exe> ​​compact jet database. Compact jet database
jview.exe> ​​command-line loader for java
krnl386.exe> ​​core component for windows 2000 2000
label.exe> ​​change label for drives
lcwiz.exe> ​​license compliance wizard for local or remote systems.
Wizard
ldifde.exe> ​​ldif cmd line manager ldif directory exchange command line management
licmgr.exe> ​​terminal server license manager
lights.exe> ​​display connection status lights
llsmgr.exe> ​​windows 2000 license manager 2000 license agreement management
llssrv.exe> ​​start the license server
lnkstub.exe>
locator.exe> ​​rpc locator remote positioning
lodctr.exe> ​​load perfmon counters call performance count
logoff.exe> ​​log current user off. Log off user
lpq.exe> ​​displays status of a remote lpd queue displays the status of the remote lpd print queue,
Display print jobs sent to unix-based servers
lpr.exe> ​​send a print job to a network printer. Redirect print job to print on the network
machine. Usually used for unix client printers to send print jobs to the nt printer server connected to the printing device.
lsass.exe> ​​lsa executable and server dll Run the dll of lsa and server
lserver.exe> ​​specifies the new dns domain for the default server
rver new dns domain
os2.exe> ​​an os / 2 warp server (os2 / o) os / 2
os2srv.exe> ​​an os / 2 warp server os / 2
os2ss.exe> ​​an os / 2 warp server os / 2
osk.exe> ​​on screen keyboard
packager.exe> ​​windows 2000 packager manager object packaging program
pathping.exe> ​​combination of ping and tracert program containing ping and tracert
pax.exe> ​​is a posix program and path names used as arguments must be specif
ied in posix format. use "// c / users / default" instead of "c: usersdefault."
Launch the portable archive interchange (pax) utility
pentnt.exe> ​​used to check the pentium for the floating point division error
. Check pentium for floating point errors
perfmon.exe> ​​starts windows performance monitor
ping.exe> ​​packet internet groper to verify the connection to the remote computer
posix.exe> ​​used for backward compatibility with unix
print.exe> ​​cmd line used to print files Print text files or display the contents of the print queue.
progman.exe> ​​program manager program manager
proquota.exe> ​​profile quota program
psxss.exe> ​​posix subsystem application posix subsystem application
qappsrv.exe> ​​displays the available application terminal servers on the net
work
Display the programs available on the terminal server on the network
qprocess.exe> ​​display information about processes local or remote
Process display process information (requires terminal service)
query.exe> ​​query termserver user process and sessions
quser.exe> ​​display information about a user logged on
terminal service)
qwinsta.exe> ​​display information about terminal sessions. Display terminal service information
rasadmin.exe> ​​start the remote access admin service
rasautou.exe> ​​creates a ras connection
rasdial.exe> ​​dial a connection
ras.exe> ​​starts a ras connection
rcp.exe> ​​copies a file from and to a rcp service. In windows 2000 computer and operation
Copy files between systems running the remote shell port monitor program rshd
rdpclip.exe> ​​rdpclip allows you to copy and paste files between a terminal
session and client console session. Copy and paste files from terminal and local
recover.exe> ​​recovers readable information from a bad or defective disk
The readable information can be recovered from the damaged or defective disk.
redir.exe> ​​starts the redirector service
regedt32.exe> ​​32-bit register service
regini.exe> ​​modify registry permissions from within a script
license
register.exe> ​​register a program so it can have special execution character
istics. Register programs containing special run characters
regsvc.exe>
regsvr32.exe> ​​registers and unregister's dll's. as to how and where it regi
ster's them i dont know. Register and unregister dll
regtrace.exe> ​​options to tune debug options for applications failing to dum
p trace statements
trace settings
regwiz.exe> ​​registration wizard
remrras.exe>
replace.exe> ​​replace files replace files in the target directory with files of the same name in the source directory.
reset.exe> ​​reset an active section
rexec.exe> ​​runs commands on remote hosts running the rexec service.
Run the command on the remote computer of the rexec service. The rexec command verifies the remote computer before executing the specified command
You can use this command only after the tcp / ip protocol is installed on the user name on.
risetup.exe> ​​starts the remote installation service wizard.
service
route.exe> ​​display or edit the current routing tables. control network routing table
routemon.exe> ​​no longer supported no longer supported!
router.exe> ​​router software that runs either on a dedicated dos or on an os
/ 2 system. Route software in dos or os / 2 system
rsh.exe> ​​runs commands on remote hosts running the rsh service
Commands on a remote computer
rsm.exe> ​​mounts and configures remote system media
rsnotify.exe> ​​remote storage notification recall
rsvp.exe> ​​resource reservation protocol
runas.exe> ​​run a program as another user allows users to run specified tools and
program
rundll32.exe> ​​launches a 32-bit dll program
runonce.exe> ​​causes a program to run during startup
rwinsta.exe> ​​reset the session subsystem hardware and software to known ini
tial values ​​Reset the session subsystem hardware and software to the original values
savedump.exe> ​​does not write to e: winntuser.dmp does not write to user.dmp
scardsvr.exe> ​​smart card resource management server
schupgr.exe> ​​it will read the schema update files (.ldf files) and upgrade
the schema. (part of adsi) Read the plan update file and update plan
secedit.exe> ​​starts security editor help automatic security configuration management
services.exe> ​​controls all the services
sethc.exe> ​​set high contrast-changes colours and display mode logoff to s
et it back to normal Set high contrast
setreg.exe> ​​shows the software publishing state key values
Home language
setup.exe> ​​gui box prompts you to goto control panel to configure system co
mponents installer (go to control panel)
setver.exe> ​​set version for files Set the ms-dos version reported by ms-dos subsystem to the program
number
sfc.exe> ​​system file checker test and check system files for integrity system
File inspection
sfmprint.exe> ​​print services for macintosh print macintosh services
sfmpsexe.exe>
sfmsvc.exe>
shadow.exe> ​​monitor another terminal services session. Monitor another terminal services session.
Session
share.exe> ​​windows 2000 and ms-dos subsystem do not use this command. Accept the order just to communicate with
ms-dos file compatible
shmgrate.exe>
shrpubw.exe> ​​create and share folders
sigverif.exe> ​​file signature verification
skeys.exe> ​​serial keys utility serial number making tool
smlogsvc.exe> ​​performance logs and alerts
smss.exe>
sndrec32.exe> ​​starts the windows sound recorder recorder
sndvol32.exe> ​​display the current volume information
snmp.exe> ​​simple network management protocol used for network mangement
Network Management Protocol
snmptrap.exe> ​​utility used with snmp snmp tool
sol.exe> ​​windows solitaire game
sort.exe> ​​compares files and folders read input, sort data and write results to screen, text
Pieces and other devices
SPOOLSV.EXE> Part of the spooler service for printing
sprestrt.exe>
srvmgr.exe> ​​Starts the Windows Server Manager
stimon.exe> ​​WDM StillImage-> Monitor
stisvc.exe> ​​WDM StillImage-> Service
subst.exe> ​​Associates a path with a drive letter
svchost.exe> ​​Svchost.exe is a generic host process name for services that a
re run from dynamic-link libraries (DLLs). DLL winner process
syncapp.exe> ​​Creates Windows Briefcase. Create Windows file package
sysedit.exe> ​​Opens Editor for 4 system files system configuration editor
syskey.exe> ​​Encrypt and secure system database NT account database group tool
sysocmgr.exe> ​​Windows 2000 Setup 2000 installation program
systray.exe> ​​Starts the systray in the lower right corner. Run syst at low authority
ray
macfile.exe> ​​Used for managing MACFILES
magnify.exe> ​​Used to magnify the current screen magnifying glass
makecab.exe> ​​MS Cabinet Maker make CAB file
mdm.exe> ​​Machine Debug Manager Machine debugging management
mem.exe> ​​Display current Memory stats
migpwd.exe> ​​Migrate passwords. Migrate passwords
mmc.exe> ​​Microsoft Management Console
mnmsrvc.exe> ​​Netmeeting Remote Desktop Sharing NetMeeting Remote Desktop Sharing
mobsync.exe> ​​Manage Synchronization. Synchronization directory manager
mountvol.exe> ​​Creates, deletes, or lists a volume mount point. Create, delete or
List the mount point of the volume.
mplay32.exe> ​​MS Media Player Media Player
mpnotify.exe> ​​Multiple Provider Notification application
sequence
mq1sync.exe>
mqbkup.exe> ​​MS Message Queue Backup and Restore Utility
With
mqexchng.exe> ​​MSMQ Exchange Connector Setup message queue exchange connection settings
mqmig.exe> ​​MSMQ Migration Utility message queue migration tool
mqsvc.exe>?
mrinfo.exe> ​​Multicast routing using SNMP using SNMP multicast routing
mscdexnt.exe> ​​Installs MSCD (MS CD Extensions) Install MSCD
msdtc.exe> ​​Dynamic Transaction Controller Console
msg.exe> ​​Send a message to a user local or remote. Send a message to a local or remote client
mshta.exe> ​​HTML Application HOST HTML application host
msiexec.exe> ​​Starts Windows Installer Program
mspaint.exe> ​​Microsoft Paint
msswchx.exe>
mstask.exe> ​​Task Schedule Program
mstinit.exe> ​​Task scheduler setup
narrator.exe> ​​Program will allow you to have a narrator for reading. Micros
oft narrator
nbtstat.exe> ​​Displays protocol stats and current TCP / IP connections using N
BT uses NBT (NetBIOS over TCP / IP) to display protocol statistics and current TCP / IP connections.
nddeapir.exe> ​​NDDE API Server side NDDE API Server side
net.exe> ​​Net Utility For detailed usage see /?
net1.exe> ​​Net Utility updated version from MS Net upgraded version
netdde.exe> ​​Network DDE will install itself into the background
station
netsh.exe> ​​Creates a shell for network information to configure and monitor Windows 2
000 Command line script interface.
netstat.exe> ​​Displays current connections. Displays protocol statistics and current TCP / IP network
connection.
nlsfunc.exe> ​​Loads country-specific information Load specific country (region) information.
Windows 2000 and MS-DOS subsystems do not use this command. The command is accepted only for compatibility with MS-DOS files
Content.
notepad.exe> ​​Opens Windows 2000 Notepad Notepad
nslookup.exe> ​​Displays information for DNS This diagnostic tool displays information from the Domain Name System (DNS)
Name server information.
ntbackup.exe> ​​Opens the NT Backup Utility backup and fault repair tool
ntbooks.exe> ​​Starts Windows Help Utility Help
ntdsutil.exe> ​​Performs DB maintenance of the ADSI Complete ADSI DB maintenance
ntfrs.exe> ​​NT File Replication Service NT File Replication Service
ntfrsupg.exe>
ntkrnlpa.exe> ​​Kernel patch
ntoskrnl.exe> ​​Core of Core NT Kernel KT
ntsd.exe>
ntvdm.exe> ​​Simulates a 16-bit Windows environment
nw16.exe> ​​Netware Redirector NetWare Redirector
nwscript.exe> ​​runs netware scripts
odbcad32.exe> ​​ODBC 32-bit Administrator 32-bit ODBC management
odbcconf.exe> ​​Configure ODBC driver's and data source's from command line
Command line configuration ODBC driver and data source
taskman.exe> ​​Task Manager
taskmgr.exe> ​​Starts the Windows 2000 Task Manager
tcmsetup.exe> ​​telephony client wizard telephony client installation
tcpsvcs.exe> ​​TCP Services TCP service
.exe> ​​Telnet Utility used to connect to Telnet Server
termsrv.exe> ​​Terminal Server Terminal Services
tftp.exe> ​​Trivial FTP to transfer files to or from a remote computer running TFTP service
TFTP service to transfer files from a remote computer
tftpd.exe> ​​Trivial FTP Daemon
themes.exe> ​​Change Windows Themes desktop theme
tlntadmn.exe> ​​Telnet Server Administrator Telnet Service Management
tlntsess.exe> ​​Display the current Telnet Sessions
tlntsvr.exe> ​​Start the Telnet Server Start the Telnet service
tracert.exe> ​​Trace a route to display paths The diagnostic utility will contain different survival times
(TTL) value of Internet Control Message Protocol (ICMP) echo packets are sent to the destination to determine the destination
Route used
tsadmin.exe> ​​Terminal Server Administrator
tscon.exe> ​​Attaches a user session to a terminal session.
dialogue
tsdiscon.exe> ​​Disconnect a user from a terminal session
tskill.exe> ​​Kill a Terminal server process
tsprof.exe> ​​Used with Terminal Server to query results. Use terminal service to get query result
fruit
tsshutdn.exe> ​​Shutdown the system
unlodctr.exe> ​​Part of performance monitoring
upg351db.exe> ​​Upgrade a jet database Upgrade Jet database
ups.exe> ​​UPS service UPS service
user.exe> ​​Core Windows Service Windows core service
userinit.exe> ​​Part of the winlogon process
usrmgr.exe> ​​Start the windows user manager for domains
utilman.exe> ​​This tool enables an administrator to designate which computers automatically open accessibility tools when Windows 2000 starts. Specifies that the machine is automatically opened when 2000 starts
verifier.exe> ​​Driver Verifier Manager Driver Verifier Manager
vwipxspx.exe> ​​Loads IPX / SPX VDM calls IPX / SPX VDM
w32tm.exe> ​​Windows Time Server
wextract.exe> ​​Used to extract windows files Decompress Windows files
winchat.exe> ​​Opens Windows Chat Open Windows Chat
winhlp32.exe> ​​Starts the Windows Help System
winlogon.exe> ​​Used as part of the logon process.
winmine.exe> ​​windows Game mine digging
winmsd.exe> ​​Windows Diagnostic utility system information
wins.exe> ​​Wins Service Wins service
winspool.exe> ​​Print Routing
winver.exe> ​​Displays the current version of Windows
wizmgr.exe> ​​Starts Windows Administration Wizards
wjview.exe> ​​Command line loader for Java
wowdeb.exe>. For starters, the 32-bit APIs require that the WOWDEB.EXE tas
When k runs in the target debugee's VM starts, the 32-bit API requires
wowexec.exe> ​​For running Windows over Windows Applications
Running on windows
wpnpinst.exe>?
write.exe> ​​Starts MS Write Program WordPad
wscript.exe> ​​Windows Scripting Utility scripting tool
wupdmgr.exe> ​​Starts the Windows update Wizard (Internet)
xcopy.exe> ​​copy files and directories, including subdirectories
Detailed explanation of Win XP console commands
The console commands of Win XP (including 2000) are very effective in case of some unexpected situations
Tools for diagnosis and testing and for restoring system functions. The editor has always wanted to summarize this order, this
The hard worker Lao Fan organized this practical secret for us.
Part 1: File and directory operation commands
Attrib Batch Chdir (Cd) Copy Delete (Del) Expand Mkdir (md) Rmdir (Rd) Type
More
Part 2: System and disk operation commands
Bootcfg hkdsk Diskpart Fixboot Fixmbr format Map
Part 3: Auxiliary operation and special function commands
Cls Disable Enable Exit Help commandname Listsvc Logon Net use
Set Systemroot
Attrib
Change the properties of individual files or directories. This command sets or deletes the read-only, system,
Archive, hide, and compress properties.
The attrib command with the following parameters is only available when using the recovery console. With different parameters
attrib
Commands can be used in the command prompt.
attrib [+ r | -r] [+ s | -s] [+ h | -h] [+ c | -c] [[drive:] [path] filename]
parameter
+ r Set read-only attribute.
-r Clear read-only attribute.
+ s Set system properties.
-s Clear system attributes.
+ h Set hidden attributes.
-h Clear hidden attributes.
+ c Set compression properties.
-c Clear compression attributes.
[[drive:] [path] filename]
Specify the location and name of the directory or file to be processed. You can change only one file at a time, or you can change the entire
Directories.
Note: You can change multiple attributes of a file or directory with one command.
Batch
Execute the command specified in the text file. The batch command is only available when using the recovery console. Therefore
The Recovery Console can be launched from the installation CD.
batch input_file [output_file]
parameter
input_file
Specifies a text file containing a list of commands to be executed. Input_file can be composed of drive letter and colon, directory
Name, file name or their combination.
output_file
If specified, the command output is stored in the named file. If not specified, the output will be displayed on the screen.
example
The following example will execute the batch file C: JobsFind.txt and store the output in the file
C: JobsResults.txt:
batch c: jobsfind.txt c: jobs esults.txt
Note: The batch file cannot contain nested batch commands.
Chdir (Cd)
Display the name of the current directory, or change the current folder.
The chdir command with the following parameters is only available when using the recovery console. Available at the command prompt
Use the chdir command with different parameters.
chdir [drive:] [path] [..]
or
cd [drive:] [path] [..]
Parameter None
Without any parameters, chdir will display the name of the current drive and folder. Only with drive letter
With (eg cd C :), chdir will display the current directory on the specified drive.
[drive:] [path]
Specify the drive (if not the current drive) and directory to change to.
[..]
Indicate that you want to change to the parent folder. Insert a space between chdir and the two periods.
note
Chdir treats spaces as separators. Use quotation marks to expand the directory names that contain spaces. E.g:
cd "driver cache"
Chdir only applies to the system directory of the current Windows installation, removable media, the root directory of the hard disk partition or
Install the source.
Copy
Copy individual files to another location. The copy command with the following parameters is only used in the recovery console
Only available when available.
You can use the copy command with different parameters at the command prompt.
copy source [destination]
parameter
source
Specify the location and name of the file to be copied. Source can be drive letter and colon, directory name, file name
Or a combination.
destination
Specify the location and name of the file or file set to copy into. Destination can be determined by drive letter and
Composed of colons, folder names, file names and combinations.
note
The source can be removable media, any directory in the system directory of the current Windows installation, the root directory of the drive,
Local installation source or Cmdcons directory.
The target can be any location other than removable media that is the same as the source. If no target is specified, the default is
Front directory.
The compressed files on the Windows installation CD are uncompressed during the copy process.
Copy does not support wildcards.
Delete (Del)
Delete a single file. The delete or del commands with the following parameters are only available when using the recovery console
Available. You can use the delete or del commands with different parameters at the command prompt.
delete [drive:] [path] filename
or
del [drive:] [path] filename
parameter
[drive:] [path] filename specifies the location and name of the file to be deleted.
note
Delete only applies to the system directory of the current Windows installation, removable media, the root directory of the hard disk partition
To install the source.
Dir
Displays a list of files and subdirectories in the directory. The dir command with the following parameters is only used for fault recovery control
Only available when the station is in use. You can use the dir command with different parameters at the command prompt.
dir [drive:] [path] [filename]
parameter
[drive:] [path]
Specify the drive and directory to view the list.
[filename]
Specify a specific file or group of files to view the list. Multiple file names can be used. File name can use spaces
, Comma or semicolon. You can use wildcard characters (? And *) in the filename parameter to display a set of files.
Dir also lists the volume label and serial number of the disk, as well as the number of files listed, the cumulative size and the remaining on the disk
Available space (in bytes). For each file and subdirectory, dir lists the file extension, file word
The number of sections, the date and time the file was last modified, and the following file attributes (if available):
Abbreviation Properties
d directory
h Hidden files
s system files
e encryption
r read only
a Archive
c compressed
p reanalysis point
note:
Dir is only applicable to the system directory of the current Windows installation, removable media, the root directory of the hard disk partition or this
To install the source.
Expand
Extract files from compressed files. This command can extract the driver file from the .cab file or compressed file
Pieces.
The expand command with the following parameters is only available when using the recovery console. Available at the command prompt
Next, use the expand command with different parameters.
expand source [/ F: filespec}] [destination] [/ d] [/ y]
parameter
source
Specify the file to be expanded. If the source file contains only one file, use this option. source can be driven
The device number and colon, directory name, file name or combination. Wildcards cannot be used.
/ f: size
If the source file contains multiple files, specify the name of the file to be extracted. You can use the
Match.
destination
Specify the target directory and / or file name of the extracted file or each individual file.
/ d
List the files contained in the CAB file without expanding or extracting.
/ y
There is no overwrite prompt when expanding or extracting files.
example
The following example will extract the Msgame.sys file from the driver CAB file on the installation CD and copy it to
C: WindowsSystemDrivers:
expand d: i386driver.cabf: msgame.sys c: windowssystemdrivers
The following example expands the compressed file Access.cp_:
expand d: i386acces.cp_c: windowssystem32access.cpl
The following example lists all the files in the driver CAB file on the installation CD.
expand / d d: i386driver.cab
Main points
Driver CAB files contain thousands of files, including most of the drivers provided by Windows
. It takes a long time and a lot of disk space to expand all files from the CAB file to the hard disk. Recommended only
Extract the required files from this file.
note
If no destination is specified, the file will be copied to the current directory.
Removable media such as a floppy disk drive or CD-ROM cannot be specified as a target.
Mkdir (md)
Create a directory or subdirectory. The mkdir command with the following parameters is only available when using the recovery console.
You can use the mkdir command with different parameters at the command prompt.
mkdir [drive:] path
or
md [drive:] path
parameter
drive:
Specify the drive where the new directory will be created.
path
Specify the name and location of the new directory. Wildcards cannot be used.
note
Mkdir only applies to the system directory of the current Windows installation, removable media, the root directory of the hard disk partition or
Install the source.
Rename (Ren)
Change the name of a single file. The rename command with the following parameters is only available when using the recovery console
use. You can use the rename command with different parameters at the command prompt.
rename [drive:] [path] filename1 filename2
or
ren [drive:] [path] filename1 filename2
parameter
[drive:] [path] filename1
Specify the location and name of the file to be renamed. Wildcards cannot be used.
filename2
Give the file a new name. You cannot specify a new drive or path when renaming the file.
Rmdir (Rd)
Delete the directory. The rmdir command with the following parameters is only available when using the recovery console. Available in order
Use the mdir command with different parameters at the prompt.
rmdir [drive:] path
or
rd [drive:] path
parameter
[drive:] path
Specify the location and name of the directory to delete. Wildcards cannot be used.
note
The directory must be empty or the command will fail.
Rmdir only applies to the system directory of the current Windows installation, removable media, the root directory of the hard disk partition, or the local
Install the source.
Type
Display the contents of the text file. Use the type or more command to view the text file without modifying the file. contain
The type command of the following parameters is only available when using the recovery console. Can be used at the command prompt with different
Parameter type command.
type [drive:] [path] filename
or
more [drive:] [path] filename
parameter
[drive:] path] filename
Specify the location and name of the file to view.
If you use an NTFS drive and the file name contains spaces, you must enclose the file name in quotation marks (").
More
Display the contents of the text file. Use the more or type command to view the text file without modifying the file. contain
The more command with the following parameters is only available when using the Recovery Console. Can be used at the command prompt with different
Parameter of the more command.
more [drive:] [path] filename
or
type [drive:] [path] filename
parameter
[drive:] path] filename
Specify the location and name of the file to view.
If you use an NTFS drive and the file name contains spaces, you must enclose the file name in quotation marks (")
Bootcfg
The bootcfg command initiates configuration and failure recovery (for most computers, the boot.ini file).
The bootcfg command with the following parameters is only available when using the recovery console. Available at the command prompt
Use the bootcfg command with different parameters.
usage:
bootcfg / default sets the default boot entry.
bootcfg / add adds the Windows installation to the boot list.
bootcfg / rebuild repeats the entire Windows installation process and allows the user to choose what to add.
Note: Before using bootcfg / rebuild, it should be backed up by bootcfg / copy command
boot.ini file.
bootcfg / scan scans all disks used for Windows installation and displays the results.
Note: These results are stored statically and used for this session. If the disk configuration occurs during this session
Changes, in order to get an updated scan, you must first restart the computer and then scan the disk again.
bootcfg / list lists the existing entries in the boot list.
bootcfg / disableredirect disables redirection in the bootloader.
bootcfg / redirect [PortBaudRrate] | [useBiosSettings]
Enable redirection by specifying the configuration in the bootloader.
example:
bootcfg / redirect com1 115200
bootcfg / redirect useBiosSettings
hkdsk
Create and display disk status reports. The Chkdsk command can also list and correct errors on the disk.
The chkdsk command with the following parameters is only available when using the recovery console. Available at the command prompt
Next, use the chkdsk command with different parameters.
vol [drive:] [ chkdsk [drive:] [/p] [/r]
å‚æ•°æ—
如果ä¸å¸¦ä»»ä½•å‚数,chkdsk 将显示当å‰é©±åŠ¨å™¨ä¸çš„ç£ç›˜çŠ¶æ€ã€‚
drive: æŒ‡å®šè¦ chkdsk 检查的驱动器。
/p å³ä½¿é©±åŠ¨å™¨ä¸åœ¨ chkdsk 的检查范围内,也执行彻底检查。该å‚æ•°ä¸å¯¹é©±åŠ¨å™¨åš
任何更改。
/r 找到å扇区并æ¢å¤å¯è¯»å–çš„ä¿¡æ¯ã€‚éšå«ç€ /p å‚数。
note
Chkdsk å‘½ä»¤éœ€è¦ Autochk.exe 文件。如果ä¸èƒ½åœ¨å¯åŠ¨ç›®å½•ï¼ˆé»˜è®¤ä¸º
/%systemroot%System32)ä¸æ‰¾åˆ°è¯¥æ–‡ä»¶ï¼Œå°†è¯•ç€åœ¨ Windows 安装 CD ä¸æ‰¾åˆ°å®ƒã€‚ in case
有多引导系统的计算机,必须ä¿è¯æ˜¯åœ¨åŒ…å« Windows 的驱动器上使用该命令。
Diskpart
åˆ›å»ºå’Œåˆ é™¤ç¡¬ç›˜é©±åŠ¨å™¨ä¸Šçš„åˆ†åŒºã€‚diskpart 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨
.
diskpart [ /add |/delete] [device_name |drive_name |partition_name]
[size]
å‚æ•° æ—
如果ä¸å¸¦ä»»ä½•å‚数,diskpart 命令将å¯åŠ¨ diskpart çš„ Windows å—符模å¼ç‰ˆæœ¬ã€‚
/add
创建新的分区。
/delete
åˆ é™¤çŽ°æœ‰åˆ†åŒºã€‚
device_name
è¦åˆ›å»ºæˆ–åˆ é™¤åˆ†åŒºçš„è®¾å¤‡ã€‚è®¾å¤‡å称å¯ä»Ž map 命令的输出获得。例如,设备å称:
DeviceHardDisk0
drive_name
以驱动器å·è¡¨ç¤ºçš„å¾…åˆ é™¤åˆ†åŒºã€‚ä»…ä¸Ž /delete åŒæ—¶ä½¿ç”¨ã€‚以下是驱动器å称的范例
:
D:
partition_name
以分区åç§°è¡¨ç¤ºçš„å¾…åˆ é™¤åˆ†åŒºã€‚å¯ä»£æ›¿ drive_name 使用。仅与 /delete åŒæ—¶ä½¿ç”¨
.以下是分区å称的范例:
DeviceHardDisk0Partition1
大å°
è¦åˆ›å»ºçš„分区大å°ï¼Œä»¥å…†å—节 (MB)表示。仅与 /add åŒæ—¶ä½¿ç”¨ã€‚
范例
ä¸‹ä¾‹å°†åˆ é™¤åˆ†åŒºï¼š
diskpart /delete Device HardDisk0 Partition3
diskpart /delete F:
ä¸‹ä¾‹å°†åœ¨ç¡¬ç›˜ä¸Šæ·»åŠ ä¸€ä¸ª 20 MB 的分区:
diskpart /add Device HardDisk0 20
Fixboot
å‘系统分区写入新的分区引导扇区。åªæœ‰åœ¨ä½¿ç”¨æ•…éšœæ¢å¤æŽ§åˆ¶å°æ—¶ï¼Œæ‰èƒ½ä½¿ç”¨
fixboot 命令。
fixboot [drive]
å‚数驱动器
å°†è¦å†™å…¥å¼•å¯¼æ‰‡åŒºçš„驱动器。它将替代默认的驱动器(å³ç”¨æˆ·ç™»å½•çš„系统分区)。
例如,驱动器:D:
范例
下列命令范例å‘驱动器 D: 的系统分区写入新的分区引导扇区:
fixboot d:
注æ„: 如果ä¸å¸¦ä»»ä½•å‚数,fixboot 命令将å‘用户登录的系统分区写入新的分区引
导扇区。
Fixmbr
ä¿®å¤å¯åŠ¨ç£ç›˜çš„ 主å¯åŠ¨è®°å½•ã€‚fixmbr 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨ã€‚
fixmbr [ device_name]
å‚æ•°
device_name
è¦å†™å…¥æ–°çš„主引导记录的设备(驱动器)。设备å称å¯ä»Ž map 命令的输出获得。 example
如,设备å称:
DeviceHardDisk0
范例
下列命令示例å‘指定设备写入一个新的主引导记录:
fixmbr DeviceHardDisk0
note
如果ä¸æŒ‡å®š device_name,新的主引导记录将被写入引导设备,å³è£…载主系统的驱动器
.
å¦‚æžœç³»ç»Ÿæ£€æµ‹åˆ°æ— æ•ˆæˆ–éžæ ‡å‡†åˆ†åŒºè¡¨æ ‡è®°ï¼Œå°†æ示用户是å¦ç»§ç»æ‰§è¡Œè¯¥å‘½ä»¤ã€‚除éžæ‚¨è®¿
问驱动器有问题,å¦åˆ™ä¸è¦ç»§ç»è¿›è¡Œã€‚å‘系统分区写入新的主引导记录å¯èƒ½ç ´å分区表
å¹¶å¯¼è‡´åˆ†åŒºæ— æ³•è®¿é—®ã€‚
format
å°†æŒ‡å®šçš„é©±åŠ¨å™¨æ ¼å¼åŒ–为指定的文件系统。å«æœ‰ä¸‹åˆ—å‚æ•°çš„ format 命令仅在使用
æ•…éšœæ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨ã€‚å¯åœ¨å‘½ä»¤æ示符下使用带有ä¸åŒå‚æ•°çš„ format 命令。
format [ drive:] [ /fs:file-system]
å‚æ•°
drive:
指定è¦æ ¼å¼åŒ–的驱动器。ä¸èƒ½ä»Žæ•…éšœæ¢å¤æŽ§åˆ¶å°æ ¼å¼åŒ–软盘。
/q
å¯¹é©±åŠ¨å™¨è¿›è¡Œå¿«é€Ÿæ ¼å¼åŒ–。ä¸æ‰«æ驱动器看是å¦æœ‰ååŒºåŸŸï¼Œå› æ¤åªåº”对以å‰æ ¼å¼åŒ–
过的驱动器使用该å‚数。
/fs:file-system
指定è¦ä½¿ç”¨çš„文件系统:FATã€FAT32 或 NTFS 。如果未指定文件系统,将使用现有
çš„æ–‡ä»¶ç³»ç»Ÿæ ¼å¼ã€‚
Map
显示驱动器å·ä¸Žç‰©ç†è®¾å¤‡åç§°çš„æ˜ å°„ã€‚è¯¥ä¿¡æ¯åœ¨è¿è¡Œ fixboot å’Œ fixmbr 命令时éž
常有用。
map 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨ã€‚
Map [ arc]
å‚æ•°
arc
指示 map 命令显示高级 RISC 计算 (ARC)设备å称而ä¸æ˜¯è®¾å¤‡å称。以下是 ARC
设备å称的范例:
multi(0)disk(0)rdisk(0)partition(1)
ç‰ä»·çš„设备å称是:
DeviceHardDisk0Partition1
范例
下例将物ç†è®¾å¤‡åæ˜ å°„ä¸ºä½¿ç”¨ ARC 设备å称的驱动器å·ï¼š
map arc
note
如果ä¸ä½¿ç”¨ arc å‚数,则 map 命令显示设备å称。
map 命令还显示文件系统的类型和æ¯ä¸ªç£ç›˜çš„大å°ï¼ˆMB)。
↠返回
Cls
清除å±å¹•ã€‚
清除åŽçš„å±å¹•åªæ˜¾ç¤ºå‘½ä»¤æ示符和æ’入点。
Disable
ç¦ç”¨ Windows XP ã€Windows 2000 或 Windows NT 4.0 系统æœåŠ¡æˆ–设备驱动程åºã€‚
disable 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨ã€‚
disable {service_name] |[ device_driver_name}
å‚æ•°
service_name
è¦ç¦ç”¨çš„系统æœåŠ¡å称。
device_driver_name
è¦ç¦ç”¨çš„设备驱动程åºå称。
范例
下例将ç¦ç”¨ Eventlog æœåŠ¡ï¼š
disable eventlog
note
disable 命令将指定的æœåŠ¡æˆ–驱动程åºçš„å¯åŠ¨ç±»åž‹è®¾ä¸º SERVICE_DISABLED 。
使用 disable 命令ç¦ç”¨ç³»ç»ŸæœåŠ¡æˆ–设备驱动程åºæ—¶ï¼Œè¯¥ç³»ç»ŸæœåŠ¡æˆ–设备驱动程åºä¸Šæ¬¡å¯
动类型的å称将显示在å±å¹•ä¸Šã€‚应该记下该å称,以便在需è¦æ—¶ä½¿ç”¨ enable 命令将å¯
动类型æ¢å¤ä¸ºä¸Šæ¬¡çš„设置 。
共有五ç§å¯åŠ¨ç±»åž‹ã€‚å‰ä¸‰ç§ç±»åž‹æ˜¯ï¼šSERVICE_AUTO_START ã€SERVICE_DISABLED å’ŒSERVI
CE_DEMAND_START ã€‚å¯¹åº”çš„æ ‡å‡†å¯åŠ¨ç±»åž‹ï¼šè‡ªåŠ¨ã€ç¦ç”¨å’Œæ‰‹åŠ¨ï¼Œé€šå¸¸ä½¿ç”¨â€œè®¡ç®—机管ç†
â€ç®¡ç†å·¥å…·ä¸çš„“æœåŠ¡â€è¿›è¡Œé…置。åŽä¸¤ç§ç±»åž‹æ˜¯ï¼šSERVICE_BOOT_START å’Œ
SERVICE_SYSTEM_START,通常用于é…ç½®åŠ è½½è®¾å¤‡é©±åŠ¨ç¨‹åºçš„æ–¹å¼ã€‚例如,在å¯åŠ¨è®¡ç®—机
时或å¯åŠ¨ Windows æ—¶åŠ è½½ã€‚
Enable
å¯ç”¨ Windows XP ã€Windows 2000 或 Windows NT 4.0 系统æœåŠ¡æˆ–设备驱动程åºã€‚
enable 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨ã€‚
enable {service_name |device_driver_name}[ startup_type]
å‚æ•°
service_name
è¦å¯ç”¨çš„系统æœåŠ¡çš„å称。
device_driver_name
è¦å¯ç”¨çš„设备驱动程åºçš„å称。
startup_type
è¦ä¸ºæœåŠ¡æˆ–设备驱动程åºæŒ‡æ´¾çš„å¯åŠ¨ç±»åž‹ã€‚有效的å¯åŠ¨ç±»åž‹åŒ…括:
SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START
范例
下例将 Eventlog æœåŠ¡çš„å¯åŠ¨ç±»åž‹è®¾ä¸ºè‡ªåŠ¨æˆ– SERVICE_AUTO_START:
enable eventlog service_auto_start
note
如果ä¸æŒ‡æ´¾å¯åŠ¨ç±»åž‹ï¼Œenable 命令将列出在 service_name ä¸æŒ‡å®šçš„æœåŠ¡æˆ–设备驱动程
åºçš„当å‰å¯åŠ¨ç±»åž‹ã€‚
使用 enable 命令更改å¯åŠ¨ç±»åž‹æ—¶ï¼Œä¸Šæ¬¡å¯åŠ¨ç±»åž‹çš„å称将显示在å±å¹•ä¸Šã€‚应该记下该
å称,以便在需è¦æ—¶å°†å¯åŠ¨ç±»åž‹æ¢å¤ä¸ºä¸Šæ¬¡çš„设置。
Exit
å…³é—æ•…éšœæ¢å¤æŽ§åˆ¶å°å¹¶é‡æ–°å¯åŠ¨è®¡ç®—机。exit 命令仅在使用“故障æ¢å¤æŽ§åˆ¶å°â€æ—¶
æ‰å¯ç”¨ã€‚
exit
å‚æ•°æ—
Help
æ供有关故障æ¢å¤æŽ§åˆ¶å°å‘½ä»¤çš„è”机信æ¯ã€‚
help [ commandname]
å‚æ•°æ—
列出故障æ¢å¤æŽ§åˆ¶å°ä¸æ供的命令。
commandname
æ供有关命令信æ¯ï¼ŒåŒ…括命令使用的å‚数。
note
有两ç§æ–¹æ³•å¯ä»¥èŽ·å¾—命令的è”机帮助。å¯ä»¥æŒ‡å®š help 命令åŽçš„命令å称,或者å¯ä»¥åœ¨
命令æ示符ä¸é”®å…¥è¯¥å‘½ä»¤å称和 /?。开关。例如,键入下列命令å¯ä»¥èŽ·å¾—有关extract
命令的信æ¯ï¼š
help extract
extract /?
Listsvc
列出计算机上å¯ä»¥ä½¿ç”¨çš„æœåŠ¡å’Œé©±åŠ¨ç¨‹åºã€‚listsvc 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°
æ—¶æ‰å¯ç”¨ã€‚
listsvc
å‚æ•°æ—
Logon
登录到 Windows 安装。logon 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶æ‰å¯ç”¨ã€‚
logon
å‚æ•°æ—
note
logon 命令将列出所有检测到的 Windows 安装,需è¦å®‰è£…的本地管ç†å‘˜å¯†ç æ‰èƒ½ç™»å½•ã€‚
如果 3 次登录å°è¯•éƒ½å¤±è´¥ï¼Œâ€œæ•…éšœæ¢å¤æŽ§åˆ¶å°â€ä¼šé€€å‡ºå¹¶ä¸”计算机将é‡æ–°å¯åŠ¨ã€‚
Net use
将网络共享连接到驱动器å·ã€‚å«æœ‰ä¸‹åˆ—å‚æ•°çš„ net use 命令仅在使用故障æ¢å¤æŽ§åˆ¶
å°æ—¶å¯ç”¨ã€‚在命令æ示符下å¯ä»¥ä½¿ç”¨å¸¦ä¸åŒå‚æ•°çš„ net use 命令。
è¯æ³•
net use [ / ComputerNameShareName [ /user:[ DomainName ] UserName]
password] |[ drive
letter:] [ /d]
å‚æ•°
/servernamesharename
指定æœåŠ¡å™¨å’Œå…±äº«èµ„æºçš„å称。如果 computername 包å«ç©ºç™½å—符,则将计算机å
从åŒåæ–œæ (/)到计算机å结尾用引å·ï¼ˆ")括起æ¥ã€‚计算机å长度å¯ä»¥æ˜¯ 1 到 15
个å—符。
/user
指定建立连接的用户å。
域å
确认用户的å‡æ®æ—¶æ‰€è¦ä½¿ç”¨çš„域å。
用户å
指定登录时使用的用户å。
密ç
指定访问共享资æºæ‰€éœ€çš„密ç 。ä¸è¾“入密ç ,将给出è¦é”®å…¥å¯†ç çš„æ示。在密ç æ
示行处键入密ç æ—¶ä¸æ˜¾ç¤ºå¯†ç 。
/d
表示将ä¸æ–开该连接。
Set
显示和设置“故障æ¢å¤æŽ§åˆ¶å°â€çš„环境å˜é‡ã€‚set 命令是必须与安全模æ¿ä¸€åŒä½¿ç”¨
çš„å¯é€‰å‘½ä»¤ã€‚
å«æœ‰ä¸åŒå‚æ•°çš„ set 命令仅在使用故障故障æ¢å¤æŽ§åˆ¶å°æ—¶å¯ç”¨ã€‚å¯åœ¨å‘½ä»¤æ示符下
使用带ä¸åŒå‚æ•°çš„ set 命令。
set [ variable=[ string] ]
å‚æ•°
variable
指定需è¦è®¾ç½®æˆ–修改的å˜é‡ã€‚
“故障æ¢å¤æŽ§åˆ¶å°â€æ”¯æŒä»¥ä¸‹çŽ¯å¢ƒå˜é‡ï¼š
å˜é‡ 说明
AllowWildCards å…许æŸäº›å‘½ä»¤ï¼ˆå¦‚ del 命令)支æŒé€šé…符。
AllowAllPaths å…许访问系统上的所有文件和目录。
AllowRemovableMedia å…许文件å¤åˆ¶åˆ°å¯ç§»åŠ¨åª’体上,如软盘。
NoCopyPrompt 覆盖现有文件时ä¸æ˜¾ç¤ºæ示。
string
指定è¦ä¸ŽæŒ‡å®šå˜é‡å…³è”çš„å—符串。
范例
下例å…许在æŸäº›æ•…éšœæ¢å¤æŽ§åˆ¶å°å‘½ä»¤ä¸ä½¿ç”¨é€šé…符:
set allowwildcards=true
指定è¦åˆ 除的目录的ä½ç½®å’Œå称。ä¸èƒ½ä½¿ç”¨é€šé…符。
note
目录必须为空å¦åˆ™å‘½ä»¤å¤±è´¥ã€‚
Rmdir ä»…é€‚ç”¨äºŽå½“å‰ Windows 安装的系统目录ã€å¯ç§»åŠ¨åª’体ã€ç¡¬ç›˜åˆ†åŒºçš„æ ¹ç›®å½•æˆ–æœ¬åœ°
安装æºã€‚
Systemroot
将当å‰ç›®å½•è®¾ç½®ä¸ºç”¨æˆ·ç™»å½•åˆ°çš„ Windows 安装系统的 systemroot 文件夹。system
root 命令仅在使用故障æ¢å¤æŽ§åˆ¶å°æ—¶å¯ç”¨ã€‚
systemroot
å‚æ•°æ—
XPä¸çš„增强DOS命令
◆命令:DIR,列文件ã€ç›®å½•
å¢žåŠ å‚数:/-C
å‚数说明:DIR列文件ã€ç›®å½•æ—¶æ˜¾ç¤ºçš„文件大å°ï¼Œå…¶æ•°å€¼ä»¥åƒä¸ºå•ä½è¿›è¡Œåˆ†éš”,使用æ¤å‚
æ•°å³â€œDIR/-Câ€å°†å–消显示ä¸çš„åˆ†éš”ç¬¦ï¼Œä»¥æ»¡è¶³éƒ¨åˆ†äººçš„è§†è§‰ä¹ æƒ¯ã€‚
å¢žåŠ å‚数:/Q
å‚数说明:Windows是多用户æ“作系统,使用æ¤å‚æ•°å³â€œDIR /Qâ€åˆ—文件ã€ç›®å½•æ—¶ï¼Œå°†æ˜¾
示出文件ã€ç›®å½•çš„用户属性。
å¢žåŠ å‚数:/T:Cã€/T:Aã€/T:W
å‚数说明:使用æ¤å‚æ•°å³â€œDIR/T:Câ€ã€â€œDIR/T:Aâ€ã€â€œDIR/T:Wâ€åˆ†åˆ«æ˜¾ç¤ºæ–‡ä»¶ã€ç›®å½•
的创建时间ã€ä¸Šæ¬¡è®¿é—®æ—¶é—´å’Œä¸Šæ¬¡ä¿®æ”¹æ—¶é—´ã€‚
å¢žåŠ å‚数:/X
å‚数说明:使用æ¤å‚æ•°å³â€œDIR/Xâ€åˆ—文件ã€ç›®å½•æ—¶ï¼Œä¼šå¯¹é•¿æ–‡ä»¶ååŒæ—¶æ˜¾ç¤ºâ€œ8.3â€æ ¼
å¼çš„文件å。
◆命令:CD,改å˜ç›®å½•
å¢žåŠ å‚数:/D
å‚数说明:æ¤å‚数的作用是快速改å˜å½“å‰ç›®å½•ï¼Œæ¯”如当å‰ç›®å½•æ˜¯C:Windows,使用命令
“CD/D E:Toolsâ€å¯å¿«é€Ÿåˆ‡æ¢åˆ°E:Tools目录下。注:åªæœ‰åœ¨Win XP的“è¿è¡Œâ€æ–‡æœ¬æ¡†
ä¸è¾“入“CMDâ€å¾—到的DOS窗å£ä¸æ‰èƒ½ä½¿ç”¨æ¤å‚数。
◆命令:MD,建立目录
功能说明:æ¤å‘½ä»¤å¹¶æœªå¢žåŠ å‚数,但是增强了功能,它å¯ä¸€æ¬¡å»ºç«‹å¤šçº§å目录, 例如使
用命令“MD AABBCCDDâ€å°†ä¸€æ¬¡æ€§åˆ›å»ºAAã€BBã€CCã€DD四级å目录。而在, è€ç‰ˆæœ¬çš„DOS
ä¸ï¼Œè‹¥ä¸å˜åœ¨AAåç›®å½•ï¼Œä¾¿æ— æ³•ç›´æŽ¥å»ºç«‹AA下的BBç‰æ·±å±‚å目录。
◆命令:RDï¼Œåˆ é™¤ç›®å½•
å¢žåŠ å‚数:/S
å‚数说明:使用æ¤å‚æ•°å³â€œRD/Sâ€ç”¨äºŽåˆ é™¤ç›®å½•æ ‘ï¼Œå³åˆ 除目录åŠç›®å½•ä¸‹çš„所有å目录
和文件,相当于以å‰ç‰ˆæœ¬ä¸çš„DELTREE命令。
å¢žåŠ å‚数:/Q
å‚数说明:使用上é¢çš„/Så‚æ•°åˆ é™¤ç›®å½•æ ‘æ—¶ï¼Œç³»ç»Ÿä¼šè¦æ±‚用户确认是å¦çœŸçš„è¦åˆ 除。若
åŒæ—¶ä½¿ç”¨/Qå‚æ•°å³â€œRD/S /Qâ€ï¼Œåœ¨è¿›è¡Œåˆ 除æ“作时将å–消确认,相当于DELTREE命令的/
Yå‚数。
◆命令:DELï¼Œåˆ é™¤æ–‡ä»¶æˆ–ç›®å½•
å¢žåŠ å‚数:/F
å‚数说明:使用æ¤å‚æ•°å³â€œDEL/Fâ€å¯åˆ 除åªè¯»æ–‡ä»¶ã€‚
å¢žåŠ å‚数:/Sã€/Q
å‚数说明:使用æ¤å‚æ•°å³â€œDEL/Sâ€ä½œç”¨ä¸Žâ€œRD/Sâ€å®Œå…¨ç›¸åŒï¼Œå³åˆ 除目录åŠç›®å½•ä¸‹çš„所
有å目录和文件。åŒæ—¶ä½¿ç”¨å‚æ•°/Q,å¯å–æ¶ˆåˆ é™¤æ“作时的系统确认。
å¢žåŠ å‚数:/A
å‚æ•°è¯´æ˜Žï¼šåˆ é™¤æŒ‡å®šå±žæ€§æˆ–æŒ‡å®šå±žæ€§ä»¥å¤–çš„æ–‡ä»¶ï¼Œ/ARã€/AHã€/ASã€/AAåˆ†åˆ«è¡¨ç¤ºåˆ é™¤åª
读ã€éšè—ã€ç³»ç»Ÿã€å˜æ¡£æ–‡ä»¶ï¼Œ/ARã€/AHã€/ASã€/AAè¡¨ç¤ºåˆ é™¤é™¤åªè¯»ã€éšè—ã€ç³»ç»Ÿã€
å˜æ¡£ä»¥å¤–的文件。例如“DEL/AR *.*â€è¡¨ç¤ºåˆ 除当å‰ç›®å½•ä¸‹æ‰€æœ‰åªè¯»æ–‡ä»¶ï¼Œâ€œDEL/AS
*.*â€è¡¨ç¤ºåˆ 除当å‰ç›®å½•ä¸‹é™¤ç³»ç»Ÿæ–‡ä»¶ä»¥å¤–的所有文件。
◆命令:ATTRIB,更改文件或目录的属性
å¢žåŠ å‚数:/D
å‚数说明:在Win XPä¸æˆ‘们ä¸èƒ½æŠŠæ–‡ä»¶æˆ–文件夹设置为系统属性,åªèƒ½è®¾ä¸ºåªè¯»ã€éšè—
或å˜æ¡£å±žæ€§ã€‚而带å‚æ•°/D使用ATTRIB命令å¯ä»¥å¯¹æ–‡ä»¶çš„所有属性进行设定,设定时必须
与å‚æ•°/SåŒæ—¶ä½¿ç”¨ã€‚例如“ATTRIB /S /D +S D:Studyâ€ï¼Œä½œç”¨æ˜¯å°†D:Study文件夹设
置为系统文件夹。
◆命令:formatï¼Œæ ¼å¼åŒ–ç£ç›˜
å¢žåŠ å‚数:/FS:filessystem
å‚数说明:按指定文件系统类型(FATã€FAT32ã€NTFSï¼‰æ ¼å¼åŒ–ç£ç›˜ï¼Œä¾‹å¦‚“format
/FS:NTFSâ€ã€‚
◆命令:DATEã€TIME,显示系统日期和时间
å¢žåŠ å‚数:/T
å‚数说明:使用æ¤å‚æ•°å³â€œDATE/Tâ€ã€â€œTIME/Tâ€å°†åªæ˜¾ç¤ºå½“å‰æ—¥æœŸå’Œæ—¶é—´ï¼Œè€Œä¸å¿…输
入新日期和时间。
Windows XP 命令解释程åºä¸€ä¸ªæ–°çš„实例
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[/S] [/C | /K] string]
/C 执行å—符串指定的命令然åŽç»ˆæ–
/K 执行å—符串指定的命令但ä¿ç•™
/S 在 /C 或 /K åŽä¿®æ”¹å—符串处ç†(è§ä¸‹)
/Q å…³é—回应
/D 从注册表ä¸åœç”¨æ‰§è¡Œ AutoRun 命令(è§ä¸‹)
/A 使å‘内部管é“或文件命令的输出æˆä¸º ANSI
/U 使å‘内部管é“或文件命令的输出æˆä¸º Unicode
/T:fg 设置å‰æ™¯/背景颜色(详细信æ¯ï¼Œè¯·è§ COLOR /?)
/E:ON å¯ç”¨å‘½ä»¤æ‰©å±•(è§ä¸‹)
/E:OFF åœç”¨å‘½ä»¤æ‰©å±•(è§ä¸‹)
/F:ON å¯ç”¨æ–‡ä»¶å’Œç›®å½•å称完æˆå—符 (è§ä¸‹)
/F:OFF åœç”¨æ–‡ä»¶å’Œç›®å½•å称完æˆå—符(è§ä¸‹)
/V:ON å°† ! 作为定界符å¯åŠ¨å»¶ç¼“环境å˜é‡æ‰©å±•ã€‚如: /V:ON 会
å…许 !var! 在执行时å…许 !var! 扩展å˜é‡ var。var è¯æ³•
在输入时扩展å˜é‡ï¼Œè¿™ä¸Žåœ¨ä¸€ä¸ª FOR 循环内ä¸åŒã€‚
/V:OFF åœç”¨å»¶ç¼“的环境扩展。
请注æ„,如果å—符串有引å·ï¼Œå¯ä»¥æŽ¥å—用命令分隔符 '&&' 隔开
çš„å¤šä¸ªå‘½ä»¤ã€‚å¹¶ä¸”ï¼Œç”±äºŽå…¼å®¹åŽŸå› ï¼Œ/X 与 /E:ON 相åŒï¼Œ/Y 与
/E:OFF 相åŒï¼Œå¹¶ä¸” /R 与 /C 相åŒã€‚忽略任何其他命令行开关。
如果指定了 /C 或 /K,命令行开关åŽçš„命令行其余部分将作为命令行处
ç†ï¼›åœ¨è¿™ç§æƒ…况下,会使用下列逻辑处ç†å¼•å·å—符("):
1. 如果符åˆä¸‹åˆ—所有æ¡ä»¶ï¼Œé‚£ä¹ˆåœ¨å‘½ä»¤è¡Œä¸Šçš„引å·å—符将被
ä¿ç•™:
- ä¸å¸¦ /S 命令行开关
- 整整两个引å·å—符
- 在两个引å·å—符之间没有特殊å—符,特殊å—符为下列ä¸çš„
一个: <>()@^|
- 在两个引å·å—符之间有至少一个空白å—符
- 在两个引å·å—符之间有至少一个å¯æ‰§è¡Œæ–‡ä»¶çš„å称。
2. å¦åˆ™ï¼Œè€åŠžæ³•æ˜¯ï¼Œçœ‹ç¬¬ä¸€ä¸ªå—符是å¦æ˜¯ä¸€ä¸ªå¼•å·å—符,如果
是,èˆåŽ»å¼€å¤´çš„å—ç¬¦å¹¶åˆ é™¤å‘½ä»¤è¡Œä¸Š 的最åŽä¸€ä¸ªå¼•å·å—符,
ä¿ç•™æœ€åŽä¸€ä¸ªå¼•å·å—符之åŽçš„æ–‡å—。
如果 /D 未在命令行上被指定,当 CMD.EXE 开始时,它会寻找
以下 REG_SZ/REG_EXPAND_SZ 注册表å˜é‡ã€‚如果其ä¸ä¸€ä¸ªæˆ–
两个都å˜åœ¨ï¼Œè¿™ä¸¤ä¸ªå˜é‡ä¼šå…ˆè¢«æ‰§è¡Œã€‚
HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorAutoRun
和/或
HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorAutoRun
命令扩展是按默认值å¯ç”¨çš„。您也å¯ä»¥ä½¿ç”¨ /E:OFF,为æŸä¸€
特定调用而åœç”¨æ‰©å±•ã€‚您å¯ä»¥åœ¨æœºå™¨ä¸Šå’Œ/或用户登录会è¯ä¸Š
å¯ç”¨æˆ–åœç”¨ CMD.EXE 所有调用的扩展,这è¦é€šè¿‡è®¾ç½®ä½¿ç”¨
REGEDT32.EXE 的注册表ä¸çš„一个或两个 REG_DWORD 值:
HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorEnableExtensions
和/或
HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorEnableExtensions
到 0x1 或 0x0。用户特定设置比机器设置有优先æƒã€‚命令行
开关比注册表设置有优先æƒã€‚
命令行扩展包括对下列命令所åšçš„更改和/æˆ–æ·»åŠ :
DEL 或 ERASE
COLOR
CD 或 CHDIR
MD 或 MKDIR
PROMPT
PUSHD
POPD
SET
SETLOCAL
ENDLOCAL
IF
FOR
CALL
SHIFT
GOTO
START (åŒæ—¶åŒ…括对外部命令调用所åšçš„更改)
ASSOC
FTYPE
有关详细信æ¯ï¼Œè¯·é”®å…¥ HELP 命令å。
延迟å˜é‡çŽ¯å¢ƒæ‰©å±•ä¸æŒ‰é»˜è®¤å€¼å¯ç”¨ã€‚您å¯ä»¥ç”¨/V:ON 或 /V:OFF
命令行开关,为 CMD.EXE çš„æŸä¸ªè°ƒç”¨è€Œå¯ç”¨æˆ–åœç”¨å»¶è¿ŸçŽ¯å¢ƒå˜é‡æ‰©å……。
您å¯ä»¥åœ¨æœºå™¨ä¸Šå’Œ/或用户登录会è¯ä¸Šå¯ç”¨æˆ–åœç”¨ CMD.EXE 所有
调用的完æˆï¼Œè¿™è¦é€šè¿‡è®¾ç½®ä½¿ç”¨ REGEDT32.EXE 的注册表ä¸çš„
一个或两个 REG_DWORD 值:
HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorDelayedExpansion
和/或
HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorDelayedExpansion
到 0x1 或 0x0。用户特定设置比机器设置有优先æƒã€‚命令行开关
比注册表设置有优先æƒã€‚
如果延迟环境å˜é‡æ‰©å……被å¯ç”¨ï¼ŒæƒŠå¹å·å—符å¯åœ¨æ‰§è¡Œæ—¶é—´ï¼Œè¢«ç”¨æ¥
代替一个环境å˜é‡çš„数值。
文件和目录å完æˆä¸æŒ‰é»˜è®¤å€¼å¯ç”¨ã€‚您å¯ä»¥ç”¨ /F:ON 或 /F:OFF
命令行开关,为 CMD.EXE çš„æŸä¸ªè°ƒç”¨è€Œå¯ç”¨æˆ–åœç”¨æ–‡ä»¶å完æˆã€‚ 您å¯ä»¥
在机器上和/或用户登录会è¯ä¸Šå¯ç”¨æˆ–åœç”¨ CMD.EXE 所有调用的
完æˆï¼Œè¿™è¦é€šè¿‡è®¾ç½®ä½¿ç”¨ REGEDT32.EXE 的注册表ä¸çš„一个或两个
REG_DWORD 值:
HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorCompletionChar
HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorPathCompletionChar
和/或
HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorCompletionChar
HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorPathCompletionChar
由一个控制å—符的åå…进制值作为一个特定å‚æ•°(例如,0x4 是
Ctrl-D,0x6 是 Ctrl-F)。 用户特定设置优先于机器设置。命令行开关
优先于注册表设置。
如果完æˆæ˜¯ç”¨ /F:ON 命令行开关å¯ç”¨çš„,两个è¦ä½¿ç”¨çš„控制符是: 目录å
å—完æˆç”¨ Ctrl-D, 文件å完æˆç”¨ Ctrl-F。 è¦åœç”¨æ³¨å†Œè¡¨ä¸çš„æŸä¸ª
å—ç¬¦ï¼Œè¯·ç”¨ç©ºæ ¼(0x20)çš„æ•°å€¼ï¼Œå› ä¸ºæ¤å—符ä¸æ˜¯æŽ§åˆ¶å—符。
如果键入两个控制å—符ä¸çš„一个,完æˆä¼šè¢«è°ƒç”¨ã€‚完æˆåŠŸèƒ½å°†
路径å—ç¬¦ä¸²å¸¦åˆ°å…‰æ ‡çš„å·¦è¾¹ï¼Œå¦‚æžœæ²¡æœ‰é€šé…符,将通é…符附åŠ
到左边,并建立相符的路径列表。然åŽï¼Œæ˜¾ç¤ºç¬¬ä¸€ä¸ªç›¸ç¬¦çš„è·¯
径。如果没有相符的路径,则å‘出嘟嘟声,ä¸å½±å“显示。之åŽï¼Œ
é‡å¤æŒ‰åŒä¸€ä¸ªæŽ§åˆ¶å—符会循环显示相符路径的列表。将 Shift é”®
跟控制å—符åŒæ—¶æŒ‰ä¸‹ï¼Œä¼šå€’ç€æ˜¾ç¤ºåˆ—表。如果对该行进行了任
何编辑,并å†æ¬¡æŒ‰ä¸‹æŽ§åˆ¶å—符,ä¿å˜çš„相符路径的列表会被丢弃,
新的会被生æˆã€‚如果在文件和目录å完æˆä¹‹é—´åˆ‡æ¢ï¼Œä¼šå‘生
åŒæ ·çŽ°è±¡ã€‚两个控制å—符之间的唯一区别是文件完æˆå—符符åˆ
文件和目录å,而目录完æˆå—符åªç¬¦åˆç›®å½•å。如果文件完æˆ
被用于内置å¼ç›®å½•å‘½ä»¤(CDã€MD 或 RD),就会使用目录完æˆã€‚
将引å·å°†ç›¸ç¬¦è·¯å¾„括起æ¥ï¼Œå®Œæˆä»£ç å¯ä»¥æ£ç¡®å¤„ç†å«æœ‰ç©ºæ ¼
或其他特殊å—符的文件å。åŒæ—¶ï¼Œå¦‚果备份,然åŽä»Žè¡Œå†…调用
文件完æˆï¼Œå®Œæˆè¢«è°ƒç”¨æ˜¯ä½äºŽå…‰æ ‡å³æ–¹çš„æ–‡å—会被丢弃。
需è¦å¼•å·çš„特殊å—符是:
&()[]{}^=;!'+,`~
Wireless-Wifi Repeater,Wifi Extender,Wifi Range Extender,Best Wifi Extender
Shenzhen Jinziming Electronic Technology Co.,LTD , https://www.powerchargerusb.com