

The defrag command is the command line version of Microsoft’s Disk Defragmenter.ĭel – The del command is used to delete one or more files.
#ALL COMMAND PROMPT COMMANDS INSTALL#
Chdir can also be used to change the drive and/or directory that you want to work in.Ĭhglogon – The chglogon command enables, disables, or drains terminal server session logins.Ĭhgport – The chgport command can be used to display or change COM port mappings for DOS compatibility.Ĭhgusr – The chgusr command is used to change the install mode for the terminal server.Ĭhkdsk – The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors.Ĭhkntfs – The chkntfs command is used to configure or display the checking of the disk drive during the Windows boot process.Ĭhoice – The choice command is used within a script or batch program to provide a list of choices and return of the value of that choice to the program.Ĭipher – The cipher command shows or changes the encryption status of files and folders on NTFS partitions.Ĭlip – The clip command is used to redirect the output from any command to the clipboard in Windows.Ĭls – The cls command clears the screen of all previously entered commands and other text.Ĭmd – The cmd command starts a new instance of the command interpreter.Ĭmdkey – The cmdkey command is used to show, create, and remove stored user names and passwords.Ĭmstp – The cmstp command installs or uninstalls a Connection Manager service profile.Ĭolor – The color command is used to change the colors of the text and background within the Command Prompt window.Ĭomp – The comp command is used to compare the contents of two files or sets of files.Ĭompact – The compact command is used to show or change the compression state of files and directories on NTFS partitions.Ĭonvert – The convert command is used to convert FAT or FAT32 formatted volumes to the NTFS format.Ĭopy – The copy command does simply that – it copies one or more files from one location to another.ĭate – The date command is used to show or change the current date.ĭebug – The debug command starts Debug, a command line application used to test and edit programs.ĭefrag – The defrag command is used to defragment a drive you specify.
#ALL COMMAND PROMPT COMMANDS CODE#
Assoc – The assoc command is used to display or change the file type associated with a particular file extension.Īt – The at command is used to schedule commands and other programs to run at a specific date and time.Īttrib – The attrib command is used to change the attributes of a single file or a directory.Īuditpol – The auditpol command is used to display or change audit policies.īcdedit – The bcdedit command is used to view or make changes to Boot Configuration Data.īitsadmin – The bitsadmin command is used to create, manage, and monitor download and upload jobs.īootcfg – The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.īreak – The break command sets or clears extended CTRL+C checking on DOS systems.Ĭacls – The cacls command is used to display or change access control lists of files.Ĭall – The call command is used to run a script or batch program from within another script or batch program.Ĭertreq – The certreq command is used to perform various certification authority (CA) certificate functions.Ĭertutil – The certutil command is used to dump and display certification authority (CA) configuration information in addition to other CA functions.Ĭhange – The change command changes various terminal server settings like install modes, COM port mappings, and logons.Ĭhcp – The chcp command displays or configures the active code page number.Ĭhdir – The chdir command is used to display the drive letter and folder that you are currently in.
