Is this page helpful? Please rate your experience Yes No. Any additional feedback? Note You can also use the format command, with different parameters, from the Recovery Console. Note Format will immediately stop processing if it determines that the previous requirements can't be met using the specified cluster size. Submit and view feedback for This product This page. View all page feedback. In this article. Specifies the mount point, volume name, or drive letter followed by a colon of the drive that you want to format.
If you do not specify any of the following command-line options, format uses the volume type to determine the default format for the disk. Specifies the volume label. If you use a single format command to format more than one disk, all of the disks will be given the same volume label.
If you don't specify unit size , it's chosen based on volume size. Default settings are strongly recommended for general use. Also K and K for a sector size greater than bytes. Performs a quick format. Pwlauncher The pwlauncher command is used to enable, disable, or show the status of your Windows To Go startup options.
The pwlauncher command is available in Windows 8. Qappsrv The qappsrv command is used to display all Remote Desktop Session Host servers available on the network. The qbasic command is not installed by default with Windows 98 or 95 but is available from the installation disc or disks. Qprocess The qprocess command is used to display information about running processes. Query The query command is used to display the status of a specified service.
The query command is available in Windows 8, Windows 7, and Windows Vista. Quser The quser command is used to display information about users currently logged on to the system. The quser command is available in Windows 8, Windows 7, and Windows Vista. Qwinsta The qwinsta command is used to display information about open Remote Desktop Sessions. Rasdial The rasdial command is used to start or end a network connection for a Microsoft client.
Rcp The rcp command is used to copy files between a Windows computer and a system running the rshd daemon. Rd The rd command is the shorthand version of the rmdir command. The rdpsign command is available in Windows 7. The reagentc command is available in Windows 8 and Windows 7.
Recimg The recimg command is used to create a custom refresh image. The recimg command is available in Windows 8. Recover The recover command is used to recover readable data from a bad or defective disk. Reg The reg command is used to manage the Windows Registry from the command line.
The reg command can perform common registry functions like adding registry keys, exporting the registry, etc. Regini The regini command is used to set or change registry permissions and registry values from the command line.
The register-cimprovider command is available in Windows 8. Relog The relog command is used to create new performance logs from data in existing performance logs. Rem The rem command is used to record comments or remarks in a batch or script file.
Ren The ren command is the shorthand version of the rename command. Rename The rename command is used to change the name of the individual file that you specify. The repair-bde command is available in Windows 8 and Windows 7. Replace The replace command is used to replace one or more files with one or more other files. Reset The reset command, executed as reset session , is used to reset the session subsystem software and hardware to known initial values.
Restore The restore command is used to restore files that were backed up using the backup command. Rexec The rexec command is used to run commands on remote computers running the rexec daemon.
Rmdir The rmdir command is used to delete an existing or completely empty folder. Robocopy The robocopy command is used to copy files and directories from one location to another. This command is also called Robust File Copy. The robocopy command is available in Windows 8, Windows 7, and Windows Vista. The robocopy command is superior to both the copy command and the xcopy command because robocopy supports many more options.
Route The route command is used to manipulate network routing tables. The route command is available in all versions of Windows. The rpcinfo command is available in Windows 7 and Windows Vista. Rpcping The rpcping command is used to ping a server using RPC.
The rpcping command is available in Windows 8, Windows 7, and Windows Vista. Rsh The rsh command is used to run commands on remote computers running the rsh daemon. Rsm The rsm command is used to manage media resources using Removable Storage. The rsm command was optional in Windows Vista and then removed in Windows 7 due to Removable Storage Manager being removed from the operating system. Rwinsta The rwinsta command is the shorthand version of the reset session command.
Sc The sc command is used to configure information about services. The sc command communicates with the Service Control Manager. Scandisk The scandisk command is used to start Microsoft ScanDisk, a disk repair program. The scandisk command was replaced by the chkdsk command beginning in Windows XP. Scanreg The scanreg command starts Windows Registry Checker, a basic registry repair program and backup utility.
The scanreg command is available in Windows 98 and Windows The functions provided by the scanreg command were no longer necessary beginning in Windows XP due to changes in how the Windows Registry functions. Schtasks The schtasks command is used to schedule specified programs or commands to run at certain times. The schtasks command can be used to create, delete, query, change, run, and end scheduled tasks. Secedit The secedit command is used to configure and analyze system security by comparing the current security configuration to a template.
Setlocal The setlocal command is used to start the localization of environment changes inside a batch or script file. The setspn command is available in Windows 8 and Windows 7.
The setver command is not available in bit versions of Windows. Setx The setx command is used to create or change environment variables in the user environment or the system environment.
The setx command is available in Windows 8, Windows 7, and Windows Vista. Sfc The sfc command is used to verify and replace important Windows system files. The sfc command is also referred to as System File Checker or Windows Resource Checker, depending on the operating system.
Shadow The shadow command is used to monitor another Remote Desktop Services session. The share command is not available in bit versions of Windows.
Shift The shift command is used to change the position of replaceable parameters in a batch or script file. Showmount The showmount command is used to display information about NFS mounted file systems. The showmount command is available in Windows 7 and Windows Vista.
Shutdown The shutdown command can be used to shut down, restart, or log off the current system or a remote computer. Caching is automatic beginning in Windows XP, making the smartdrv command unnecessary. Sort The sort command is used to read data from a specified input, sort that data, and return the results of that sort to the Command Prompt screen, a file, or another output device. Start The start command is used to open a new command line window to run a specified program or command.
The start command can also be used to start an application without creating a new window. The start command is available in all versions of Windows.
Subst The subst command is used to associate a local path with a drive letter. The subst command is a lot like the net use command except a local path is used instead of a shared network path. Sxstrace The sxstrace command is used to start the WinSxs Tracing Utility, a programming diagnostic tool.
The sxstrace command is available in Windows 8, Windows 7, and Windows Vista. The sys command is used most often to create a simple bootable disk or hard drive. The necessary system files for Windows are too large to fit on a disk, so the sys command was removed beginning in Windows XP. Systeminfo The systeminfo command is used to display basic Windows configuration information for the local or a remote computer. Takeown The takedown command is used to regain access to a file that that an administrator was denied access to when reassigning ownership of the file.
The takeown command is available in Windows 8, Windows 7, and Windows Vista. Taskkill The taskkill command is used to terminate a running task. The taskkill command is the command line equivalent of ending a process in Task Manager in Windows. Telnet The telnet command is used to communicate with remote computers that use the Telnet protocol. The telnet command is available in all versions of Windows.
The telnet command is not available by default in Windows 8, 7, or Vista, but can be enabled by turning on the Telnet Client Windows feature from Programs and Features in Control Panel. Time The time command is used to show or change the current time. Timeout The timeout command is typically used in a batch or script file to provide a specified timeout value during a procedure.
The timeout command can also be used to ignore keypresses. The timeout command is available in Windows 8, Windows 7, and Windows Vista. Title The title command is used to set the Command Prompt window title. Tlntadmn The tlntadmn command is used to administer a local or remote computer running Telnet Server.
The tlntadmn command is not available by default in Windows 8, 7, or Vista, but can be enabled by turning on the Telnet Server Windows feature from Programs and Features in Control Panel.
Tpmvscmgr The tpmvscmgr command is used to create and destroy TPM virtual smart cards. The tpmvscmgr command is available in Windows 8. Tracerpt The tracerpt command is used to process event trace logs or real-time data from instrumented event trace providers. The tracert command is available in all versions of Windows. Tree The tree command is used to graphically display the folder structure of a specified drive or path.
Tscon The tscon command is used to attach a user session to a Remote Desktop session. Tsdiscon The tsdiscon command is used to disconnect a Remote Desktop session. Tskill The tskill command is used to end the specified process. Tsshutdn The tsshutdn command is used to remotely shut down or restart a terminal server. The tsshutdn command is available in Windows XP. The ability to shut down a computer remotely is also available in the more powerful shutdown command, so tsshutdn was removed beginning in Windows Vista.
Type The type command is used to display the information contained in a text file. Typeperf The typerperf command displays performance data in the Command Prompt window or writes the data to specified log file. The tzutil command can also be used to enable or disable Daylight Saving Time adjustments. The tzutil command is available in Windows 8 and Windows 7.
The umount command is available in Windows 7 and Windows Vista. The undelete command was removed beginning in Windows 95 due to the availability of the Recycle Bin in Windows. Additionally, free file recovery programs are available from third-party software makers.
The unformat command was removed beginning in Windows 95 due to file system changes. Unlock The unlock command is used to unlock a drive, disabling direct disk access for a program. The unlock command is only available in Windows 98 and Unlodctr The unlodctr command removes Explain text and Performance counter names for a service or device driver from the Windows Registry.
Vaultcmd The vaultcmd command is used to create, remove, and show stored credentials. The vaultcmd command is available in Windows 8 and Windows 7. Vol The vol command shows the volume label and serial number of a specified disk, assuming this information exists. Microsoft provides an optional virus protection suite called Microsoft Security Essentials for Windows XP and later operating systems, and third-party antivirus tools are available for all versions of Windows.
Vssadmin The vssadmin command starts the Volume Shadow Copy Service administrative command line tool which displays current volume shadow copy backups and all installed shadow copy writers and providers. W32tm The w32tm command is used to diagnose issues with Windows Time. Waitfor The waitfor command is used to send or wait for a signal on a system.
The waitfor command is available in Windows 8, Windows 7, and Windows Vista. Wbadmin The wbadmin command is used to start and stop backup jobs, display details about a previous backup, list the items within a backup, and report on the status of a currently running backup.
The wbadmin command is available in Windows 8, Windows 7, and Windows Vista. The wbadmin command replaced the ntbackup command beginning in Windows Vista. Wecutil The wecutil command is used to manage subscriptions to events that are forwarded from WS-Management supported computers. The wecutil command is available in Windows 8, Windows 7, and Windows Vista. Wevtutil The wevtutil command starts the Windows Events Command Line Utility which is used to manage event logs and publishers.
The wevtutil command is available in Windows 8, Windows 7, and Windows Vista. Where The where command is used to search for files that match a specified pattern. The where command is available in Windows 8, Windows 7, and Windows Vista. Whoami The whoami command is used to retrieve user name and group information on a network. The whoami command is available in Windows 8, Windows 7, and Windows Vista. The winmgmt command is available in all versions of Windows.
Winrm The winrm command is used to start the command line version of Windows Remote Management, used to manage secure communications with local and remote computers using web services. The winrm command is available in Windows 8, Windows 7, and Windows Vista. Winrs The winrs command is used to open a secure command window with a remote host. The winrs command is available in Windows 8, Windows 7, and Windows Vista.
Winsat The winsat command starts the Windows System Assessment Tool, a program that assesses various features, attributes, and capabilities of a computer running Windows. The winsat command is available in Windows 8, Windows 7, and Windows Vista. The wsmanhttpconfig command is available in Windows 8, Windows 7, and Windows Vista.
Xcopy The xcopy command can copy one or more files or directory trees from one location to another. A command by the name of xcopy32 existed in Windows 95 and Windows To avoid a long and confusing explanation here, just know that no matter if you executed the xcopy command or the xcopy32 command, you were always executing the most updated version of the command. The xwizard command is available in Windows 8 and Windows 7.
The append command can be used by programs to open files in another directory as if they were located in the current directory. The arp command is used to display or change entries in the ARP cache. The assoc command is used to display or change the file type associated with a particular file extension. The at command is used to schedule commands and other programs to run at a specific date and time.
The atmadm command is used to display information related to asynchronous transfer mode ATM connections on the system. The attrib command is used to change the attributes of a single file or a directory. The auditpol command is used to display or change audit policies. The bcdboot command is used to copy boot files to the system partition and to create a new system BCD store.
The bcdedit command is used to view or make changes to Boot Configuration Data. The bdehdcfg command is used to prepare a hard drive for BitLocker Drive Encryption. The bitsadmin command is used to create, manage, and monitor download and upload jobs.
The bootcfg command is used to build, modify, or view the contents of the boot. The cacls command is used to display or change access control lists of files. The call command is used to run a script or batch program from within another script or batch program. The cd command is the shorthand version of the chdir command. The certreq command is used to perform various certification authority CA certificate functions. The certutil command is used to dump and display certification authority CA configuration information in addition to other CA functions.
You must also remove install. You should only export to install. The exported image will be smaller, but will not be mountable. Remarks The bus , device , and function numbers must be in decimal format. Remarks If you include an option on the command line and the same option in the setupconfig file, the setupconfig file option and value has precedence.
Remarks By default, Windows Setup determines whether to use this feature automatically. This command works with other switches. To run Windows Setup in the background without any UI:.
Remarks This option is available starting in Windows 10 and above. Remarks Accepted parameters are local file paths and UNC network paths. Execution runs in the system context, so it may not have permissions to copy to locations that require user permissions.
Specifies whether Windows Setup will perform Dynamic Update operations search, download, and install updates. Instructions Windows Setup to suppress the Windows Setup end user license agreement user experience. Remarks This option is new starting with Windows To learn more about licensing, see Microsoft License Terms.
Instructions Windows Setup to finish previously started update operations on the down-level OS, followed by an immediate reboot to start the offline phase. Remarks This option is new for Windows 10, version Instructions Windows Setup which OS image to install from install.
Remarks If multiple images are applicable, Windows Setup will prompt the user to select. Remarks This option is new starting in Windows The driver. The command will recurse through the specified location. This option also be used with split image files. Select the first split image file in the series.
Remarks This enables you to use a single preinstallation environment to install multiple versions of Windows images. For example, you can use a bit version of Windows Setup to deploy a bit Windows image. You can also use an answer file for cross-platform deployments. The command installs all lp. Language capabilities may have be dependent on other language capabilities. For example, Text-to-speech is dependent on the Basic component of the same language.
In Windows 10, version and later, install failures will cause Windows Setup to fail and rollback. Runs backup services directly from the command line or as part of batch or script files. Creates and displays the path for searching executable files. Pauses execution in batch files and scripts. Changes to the folder saved by the pushd command. Prints a text file. Saves a specific path into a script or batch file. Deletes a directory. Allows a user to run commands with the rights of another user.
Starts Microsoft ScanDisk. Sets the execution of specified programs and commands for a specified point in time. Displays environmental variables of CMD. Lists out data from a file or command and outputs it again sorted — directly in the command prompt, in a new file, or in another output.
Opens a new command prompt window in which you can run a specific program or command. Assigns a drive letter to a path to create a virtual drive. Ends one or more running tasks. Lists all running processes — also on remote computers, if desired. Displays the current time and allows it to be changed. Stops a process for a specified time. Changes the title of the command prompt. Graphically displays the directory structure of a drive or path. Sets the path in which files will be searched for.
Changes attributes of specified files. Displays and changes the encryption status of files and directories on NTFS partitions. Compares the content of two files or two file sets.
Displays and changes the compression status of files and directories on NTFS partitions. Copies a file or multiple files to another location. Runs scripts over the Microsoft Script Host. Deletes a file or multiple files. Deletes a directory as well as all subdirectories and files within. Compresses files without any loss command has the same function as makecab. Ends the valid range of changes to batch files or scripts. Extracts files and folders stored in CAB files.
Extracts files and folders stored in CAB files in new Windows versions use expand. Compares two individual files or two sets of files with one another and displays the differences. Sets a specific command that should be run for each individual file in a file set. Selects one or more files and runs a command that refers to these files. Specifies a program for opening a specific file type. Skips the execution within a batch program to a specific line marker.
Represents a conditional statement and executes expressions within batch files only under certain conditions. Compresses files without loss in CAB format you can also use the diantz command.
Creates a symbolic link to a file. Moves a file or multiple files from one directory to another. Displays and separates open system files and folders. Restores readable files that were on a defective data drive. Changes the name of a particular file. Replaces the selected file or files with one or more other files. Allows so-called robust file copying. Manages media on removable storage devices. Limits the valid range of changes to batch files or scripts. Starts the WinSxs Tracing Utility, a tool for programming diagnostics.
Restores administrator access rights to a file that have been lost when reassigning a user. When enabled, checks whether files are written correctly on a data drive.
Finds files that match a particular search topic. Copies files and entire directory structures. Starts commands and programs at a particular time.
Creates backups of files. Allows users to make changes to start configuration data storage the command is a new version of bootcfq. Prepares a hard drive for BitLocker Drive Encryption. Creates, edits, or displays the content of boot. Edits and displays the access control list. Changes or displays the data driver check at startup. Changes the standard input and output for the system.
Creates or configures compresses drives a newer version of the command is called drvspace. Defragments all or only specified drives.
Manages, creates, and deletes partitions from the hard drive. Allows users to remotely control the disk performance counter. Creates or configures compressed drives. Manages databases within the extensible storage engine. Creates an entry ID and message in an event log. Creates, deletes, and manages partitions on the hard drive. Allows users to manage and display filter drivers.
Installs additional Windows features. Formats a drive to the file system specified by the user. Provides numerous features related to the file system, such as disk removal. Compiles self-created dictionaries for handwriting recognition. Installs a compiled dictionary for handwriting recognition.
Loads a program into the high memory area UMB — has the same function as loadhigh. Locks a drive so that only a user-selected program can access it directly. Updates all registry entries that have to do with performance indicators. Creates and manages event trace sessions and performance logs. Configures drive encryption with BitLocker. Displays information about the RAM and indicates which programs are currently loaded in it. Creates and deletes mount points for drives and displays them.
Starts Microsoft Backup replaces backup and restores. Starts the program Microsoft Diagnostics, with which system information can be displayed. Starts the Windows installer, with which Windows can be installed and configured.
Starts an automatic setup process for the multilingual user interface MUI. Installs the minimal operating system Microsoft Windows PE. Recognizes floating point division errors in Pentium chips, starts floating point emulation, and disables floating point hardware.
Installs, uninstalls, and configures packages and functions for Windows.
0コメント