MS-DOS - Windows Command Prompt (Windows 95, 98, XP, Vista & 7)

Advertisements

Most of these MS DOS commandsAre operating system Windows XP. It is quite possible that some of them do not apply to Windows Vista si Windows 7. You'll notice in the list below that some of them end with /? TABLE. "/?" At the end of the command line will display all of the command table.

A

addusers - Add or list users to / from a CSV file (XP Only)

ansi.sys - Defines functions That change display graphics, control cursor movement and reassign keys

at * - Enables users to schedule tasks to be Performed at a Specified Time and date

append - Similar to the MS-DOS PATH command, the command append Enables the user to open files in the directory Specified as if They were in the current directory

appwiz.cpl - Launch Add or Remove Programs and Windows Components

arp - Displays, adds and removes arp information from network devices

Assoc - The Assoc command displays the file association for each of the different file extensions on the computer

associat - One step file association

attrib - Attrib allows the user to change the properties of the Specified file ie read-only, Archived, Hidden, and System

B

Bootcfg.exe - The bootcfg command is a Recovery Console command That Enables the user to rebuild, view, and Otherwise make changes to the Boot.ini file

browstat - Get domain, browser and PDC info

C

Cacls.exe - The cacls command Enables the user to view and modify the ACLs of a file

call - Calls one batch from the program without stopping the parent batch Another Program
(Call /? TABLE)

certreq - Requests certificates from a Certification Authority (certreq /? TABLE)

certutil - Certutil.exe is a command-line software is installed as part of That Certificate Services (certutil /? TABLE)

chcp.exe - (Before the chcp command CAN be used, the nlsfunc must be loaded, as well as the country.sys must be loaded into the config.sys) The command is used to supplement chcp the International keyboard and character set information, allowing MS- DOS to be used in other countries and with different languages

cd & chdir - Means to change the directory in msdos (For example chdir \ & cd \ take you to the Highest level of the drive, chdir .. & cd .. goes back one, etc)

chkdsk.exe - Which Chkdsk is a utility checks the computer's hard disk drives' status for any cross-linked or any additional errors with the hard disk drive

chknfts.exe - The chkntfs command is used to display or modify the checking of the disk drive using NTFS at boot time

choice - This tool allows users to select one item from a list of choices and returns the index of the selected choice. (Choice /? TABLE)

cipher.exe - Displays or Alters the encryption of directories [files] on NTFS partition
(More commands Such as Cipher / e, cipher / d, etc. ... Type one incorrctly to get the list ... Use cipher / R)

clip - Redirects output of command line tools to the Windows clipboard. This text output THEN CAN be pasted into other programs. (Video /? TABLE) eg DIR | Video

class - Clears All That Is Written on the back window

color - The color command enables users running Microsoft Windows 2000 and Windows XP Quickly and easily to change the default color of Their background and / or text in MS-DOS window Their COLOR eg 0

comp - A simple compare That compares two or more files TABLE BELOW:

data1 Specifies location and name (s) of first file (s) to compare.
data2 Specifies location and name (s) of second files to compare.
/ D Displays differences in decimal format.
/ A Displays differences in ASCII characters.
/ L Displays line numbers for differences.
/ N = number Compares only the first Specified number of lines in each file.
/ C Disregards case of ASCII letters When comparing files.
/ I MUST BE SELECTED IF YOU WANT TO COMPARE ANYTHING OTHER THAN SIZE

compact - Compact of MS-DOS command is used to compress, uncompress, and view compressed files TABLE BELOW:
/ W Compresses the Specified files. Directories marked it That Will Be Will Be compressed files added afterward.
/ U Uncompresses the Specified files. Directories Will it be marked files added afterward That Will not be compressed.
/ S Specified performs the operation on files in the given directory and all subdirectories. Default "dir" is the current directory.
/ A Displays files with the hidden or system attributes. These files is omitted by default.
/ I Continues performing the operation Specified Even after errors have occurred. By default, COMPACT stops When an error is encountered.
/ F Forces the compress operation on all files Specified, possibly Thos Which is already compressed. Already-compressed files is Skipped by default.
/ Q Reports only the most essential information.
filename Specifies a pattern, file, or directory.

convert - Converts FAT to NTFS Volumes LIST BELOW:
volume Specifies the drive letter (FOLLOWED by a colon), mount point, or volume name.
/ FS: NTFS Specifies the volumes to be converted That to NTFS.
/ V Specifies Convert That Should Be Run in verbose mode.

copy - Accomplished what does ctrl + c, But in DOS

compmgmt.msc * - View and config system settings and components

cmd - Opens the command prompt window

control.exe system - View basic info about your computer system settings

CSVDE - Imports and exports date from Active Directory using files That store date in the comma-separated value (CSV) format. You Can Also support batch Operations based on the CSV file format standard (CSVDE /? TABLE)

D

date - Data Shows That you (it Wants you to input the "new" data)

dcgpofix - Restores the default Group Policy objects to Their Original States (that is, the default state after initial installation) (dcgpofix /? TABLE)

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

defrag * - Defrags the computer! (Defrag /? TABLE) Note: you want to do this every month or so, or at Least I do ...

dfscmd - Manages the distributed file system from the command line (dfscmd /? TABLE)

of - Used to delete files from the computer

deltree - Short for delete tree, deltree is a command used to delete files and directories from the computer Permanently

dir - The dir command allows you to see the available files in the current and / or parent directories

disable - The disable command is a Recovery Console command disables Windows system services or That drivers EXAMPLE: disable <service name> SERVICE_AUTO_START

diskcomp - Compares the contents of a floppy disk in the source drive to the contents of the floppy disk drive in the target

diskcopy - The diskcopy utility allows the user to copy the complete contents of the diskette to Another diskette.It is not recommended That the diskcopy command be used for anything But the floppy diskette. TABLE BELOW:
DISKCOPY [drive1: [drive2:]] [/ 1] [/ V] [/ M]
/ 1 Copies only the first side of the disk.
/ V Verifies That the information is Copied correctly.
/ M Force multi-pass copy using memory only.

diskpart - The diskpart command is a Recovery Console command That Enables the user to delete and create partitions on Their PC
diskpart [/ add | / delete] [DEVICE_NAME | drive_name | partition_name] [size]
/ Add Creates a new partition.
/ Delete Deletes an existing partition.
The device on DEVICE_NAME Which you want to create or delete a partition. The name CAN be obtained from the output of the map command.
drive_name The partition you want to delete, by drive letter. Used only with / delete.
partition_name The partition you want to delete, by partition name. Can be used in place of the drive_name. Used only with / delete.
size The size, in megabytes (MB) of the partition you want to create. Used only with / add.

doskey - Doskey is a MS-DOS utility that allows the user to keep a history of commands used on the computer. This allows Frequently used commands to be used without HAVING to type the commands in each time you Need to use it TABLE BELOW:
/ BUFSIZE: size Sets size of macro and command buffer (default: 512)
/ ECHO: on | off nables / disables echo of macro expansions (default: on)
/ FILE: file Specifies file Containing the list of macros
/ HISTORY Displays all commands Stored in Memory
/ INSERT Inserts new characters into line When typing
/ KEYSIZE: size Sets size of keyboard type-ahead buffer (default: 15)
/ LINE: size Sets maximum size of line edit buffer (default: 128)
/ MACROS Displays all macros DOSKey
/ OVERSTRIKE Overwrites new characters onto line When typing (default)
/ Reinstall Installs a new copy of DOSKey
macroname Specifies a name for the macro you created
text Specifies commands you want to assign to the macro

driverquery - Enables admin to display the year list of installed device drivers (driverquery /? TABLE)

E

miss - 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 the COM port

edit - Edit allows the user to view, create, and / or modify off their computer files (Use
edit /? The Get The Table)

Edlin - Edlin is year 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)

enable - The enable command is a recovery console command to enable a disabled driver or service eg <servicename> enable SERVICE_SYSTEM_START

endlocal - Stops the localization of the environment changes enabled by the setlocal command (Use endlocal /? For full description)

erase - Erase command is used to remove the files from your computer's hard disk drive or other writable media and (Use erase /? Forum TABLE)

eventcreate - This year commans line tool Enables admin to create a custom event ID and message in the event log specific. (Eventcreate /? TABLE)

exit - Exits back

expand - The expand command is use to take the compressed Windows file and "expand" it to ITS original format (Use Expand /? For Full TABLE)

extract - The Windows extract command is used to take That has compressed files in Windows Cabinet file and place it into the Specified location on the hard disk drive (Use extract /? For a bit o 'history provided at the bottom, as well as the TABLE)

eventvwr.exe - View monitoring and troubleshooting messages

F

FC - FC, Or file compare, is used to compare two files against each other. Once completed, fc Which Will Differ return lines between the two files. If no lines Differ, You Will Receive a message Indicating no differences encountered (Use FC /? Forum TABLE)
eg "fc c: \ autoexec.bat c: \ config.sys"

find - Allows you to search for text Within the file. Although MS-DOS is not case sensitive ITself, That When typing in the string you are looking for with the find command, it is case sensitive (Use find /? Forum TABLE)

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

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

fixboot - The 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 fixboot eg C:

FOR - The FOR variable is used for batch files to run the command Specified When the parameter is met or Specified (Use the FOR /? Forum description)

FORFILES - SELECTS a file (or set of files) and executes the command on that file, helpful for batch jobs. (FORFILES /?)

format - Format is used to erase all of the information off of a computer diskette or fixed drive format eg: Would erase all the contents off the disk. Commonly used on a diskette formatted That has not Been on a diskette or you wish to erase (Use format /?
year do not be an idiot and type format c: and follow throught with it, This Will delete everything off of your C: Wichita, by deafult, is your main drive).

fsutil - Fsutil 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, dismounting a volume or (fsutil /? TABLE)

ftp - FTP is short for File Transfer Protocol, this page contains additional information about the FTP That command using command and help in Unix and MS-DOS
(Use FTP /?)

ftype - Displays or modifies file types used in file extension Associations (fytpe /?)

G

getmac - This tool enables year admin to display the MAC address for the network adapters on the system (getmac /? TABLE)

goto - Moves a batch file to a specific label or location, Enabling the user to rerun the 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

GPResult - This command line tool displays the Result Set of Policy (RSoP) data for the target user or computer (GPResult /? TABLE)

gpupdate - Refreshes the policy and any local computers Active Directory-based Group Policies (Use gpupdate /? Forum TABLE.

graftabl - Graftabl 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 /? Forum TABLE)

H

help - Accomplished what /? Help eg class does

hostname - Display the hostname of the machine the command is being run on

I

IF - Allows for batch files to perform conditional processing (IF /? Forum TABLE)

inetcpl.cpl - View Internet explorer settings

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

K

keyb - Keyb 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 - Label is used to view or change the label of the computer disk drives (label /?
eg a label: mydisk)

loadfix - Loads of software above the first 64K of memory, and runs the software
(Loadfix /? Forum TABLE) loadfix eg C: \ Mouse \ Mouse.com

Lock / Unlock command - LOCK allows the user to lock the drive, Enabling direct disk access for a year application.UNLOCK allows users to unlock the drive, disabling direct disk access for year application (Win 98 & 95 ONLY)

lodctr - Updates registry values ​​related to preformance counters (lodctr /? TABLE)

logoff - The logoff command is command that allows external year to Quickly logoff a user from the command line off their computer or Within a batch file (Note: does not prompt you)

logon - The logon command is a Recovery Console command lists the installations of Windows That 2000 / Windows XP and requests the local administrator password for Those installations

Logman - Manages and schedules performance counter and event trace log collections on local and remote systems (Logman /? TABLE)

M

map - The map command is a Recovery Console command displays the physical device name That of a drive letter

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

md / mkdir - Allows you to create your own directories in MS-DOS md eg Creates test example the "test" directory in the directory you are currently in and md C: \ test Creates the "test" directory in the c: \ directory (md / ? TABLE)

mode - Mode status is used to view and / or modify the port or display setting
(Mode /? TABLE)

more - More allows information to be Displayed one page at a time (more /? TABLE)
eg dir | more and more myfile.txt

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

move - Allows you to move files or directories from one folder to Another, or from one drive to Another (more /? TABLE) eg move c: \ windows \ temp \ *. * C: \ temp

mscdex - Mscdex is a CD-ROM "redirector" that Enables CD-ROM access from the MS-DOS

msinfo32.exe - Displays info about hardware and software advanced settings

msra.exe - Receve help from (or offer help to) a friend over the Internet

N

NET - The net command is used to update, fix, or view the network or network settings
(Net /? TABLE) eg net view \ \ hope and net localgroup

netsh - MS-DOS Command That Enables users to change network settings Their network device Such as changing from a dynamic address to a static address or changing the IP address (netsh /? TABLE) eg netsh dump (do not be stupid and hit enter)

netstat - The netstat command is used to display the TCP / IP network protocol statistics and information (netstat /? TABLE) eg netstat-ban

nlsfunc - Used to load country specific information (nlsfunc /? TABLE) eg Below:
nlsfunc a: \ lang \ Spain.dat (do not UNLESS you're fluent in spanish)

nslookup - MS-DOS Utility That Enables the user to look up an IP address of a domain or host on a network (nslookup /? TABLE) Notes: type 'quit' to stop nslookup

O

openfiles - Enables admin to year lost or disconnect files and folders that have Been opened on the system (openfiles /? TABLE)

P

path - Path is used to specify the location WHERE MS-DOS looks When using the command
(Path /? TABLE) eg path = c: \ windows \ command

PathPing - Similar to the tracert command, PathPing provides users with the Ability of locating spots that have network latency and network loss (PathPing /? TABLE)
PathPing eg trapped.com

pause - The pause command is used Within batch file to your computer and allows the computer to pause the batch file Currently running 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)

ping - Helps in Determining TCP / IP Networks IP address as well as cause issues with the network and assists in resolving Theme (ping /? TABLE) eg ping localhost

popd - Changes to the directory or network path Stored by the pushd command
(Popd /? TABLE)

powercfg - This command line tool Enables users to control the power settings on a system (powercgf /? TABLE)

Print - This command allowed users to print a text file to a line printer in the background (print /? TABLE) print eg C: \ file.txt / c / d: lpt1

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

pushd - Stores a directory or network path in memory so it CAN be Returned to at any time (pushd /? TABLE) eg pushd ..

R

rasdial - Not sure actually, BUT rasdial /? Some info and provides a link that you CAN use for more information.

rd / rmdir - Removes empty directories in MS-DOS eg
Row C: \ users \ John_smith \ appdata \ temp \ av19023

recover - Recovers readable data from a bad or defective disk (recover /? TABLE)

reg - Command line registry tool that enables you to change, display, update, and Otherwise handled the registry from the prompt (reg /? TABLE)

regedit32.exe * - Makes changes to the Windows registry.

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

ren / rename - Used to rename files and directories from the original name to the new name
(Ren /? TABLE) eg ren c: \ Chop hope

relog - Creates new preformance Relog logs from the existing time logs preformance by changing the sampling rate and / or converting the file formats. Supperts all preformance log formats, Including Windows NT 4.0 compressed logs. (Relog /? TABLE)

replace - Replaces files (replace /? TABLE)

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

rstrui.exe * - Restore your computer system to year eariler states

runas - Enables the user to execute the program on Another computer as yourself or as Another user (runas /? TABLE)

S

scandisk - Scandisk is designed to check the integrity of a computer hard disk drive to verify there is no Significant issues That Which Could cause issues with your computer time (scandisk /? TABLE) eg scandisk / all

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

scanreg - Using the user scanreg HIS or HER CAN backup registry manually and or allow Windows to backup the registry daily (default) 98 FOR WINDOWS AND ME

secedit - Configures and analyzes system security by comparing your current configuration to at Least one template (secedit /? TABLE)

set - Allows you to change one variable or string to Another (set /? GIANT TABLE)
eg set path = c: windows \ command

setlocal - Enables local environments to be Changed without affecting anything else
(Setlocal /? TABLE)

setver - For setver to work, setver.exe device must be loaded in the config.sys.Setver is used to imitate the version of DOS in homes year application was unable to run Because of the newer version of MS-DOS. (Setver /? TABLE) setver eg 4.01

SETX - Creates or modifies environment variables SETX in the user or system environment. Can set variables based on Arguments, regkeys, or file input (SETX /? TABLE)

sfc - Scans and replaces any Microsoft Windows file on the computer and replaces any Changed file with the correct version (sfc /? TABLE) eg sfc / scannow

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

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

shutdown - Enables the user to shutdown a Windows XP computer from the command line as well as perform additional features not available through Windows That is
(Shutdown /? Force cool features)

sort - Sorts the input and displays the output to the screen (sort /? TABLE)
sort eg test.txt

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

subst - Allows you to substitute the folder on your computer for Another Drive Letter
(Subst /? TABLE) substances eg:.

systeminfo - Displays complete information system (XP Professional and Vista ONLY)
(Systeminfo /? TABLE)

systemroot - The systemroot command is a Recovery Console command sets the current directory That as the system root directory (Win 2000 and XP only)

T

takeown - This tool allows to recover access to admin year to file That was denied by re-assigning file ownership (takeown /? TABLE)

taskmgr.exe - Views details about programs and Processes running on your computer

taskkill - Allows user to kill the task from the MS-DOS prompt. (XP Pro and Vista ONLY)
(Taskkill /? TABLE) eg taskkill / f / im notepad.exe

tasklist - This tool displays the list of Currently Running Processes on either the local or remote machine. (Tasklist /? TABLE)

telnet - Enables the user to telnet to Another Computer from the command prompt (telnet /? TABLE) eg telnet myhost.com

time - Allows the user to view and edit the computer's time

timeout - Pauses the command processor for the Specified number of seconds (timeout /? TABLE)

tracert - The 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 STI destination
(Tracert /? TABLE)

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

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

type - Allows the user to see the contents of a file (Type /? TABLE) eg type c: \ autoexec.bat

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

V

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

verify - Enables or disables the feature to determine if files have Been Written properly (verify on or verify off)

vol - Displays the volume information about the Designated vol drive eg c:

vssadmin - Displays current volume shadow copy backups and all installed shadow copy writers and providers in the command window

W

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

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

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

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

winver.exe - Displays info about MS OS

wscui.cpl - View and configure the Security Essentials for your computer

X

xcopy - Xcopy is a powerful version of the copy command with additional features, has the capability of moving files, directories, and drives from one location Whole Even to Another (xcopy /? TABLE) eg xcopy c: \ temp / s

Orders can be launched from Run or Command Prompt.

Advertisements

COMMENTS

6 Comments: MS-DOS - Windows Command Prompt (Windows 95, 98, XP, Vista & 7) #
  1. cath says:

    Como que tengo en configuro one systematic Dentro ms dos for windows xp que me of errores sin.

    Me explico mejor en COBOL esta echo .. operate bien en windows 98, lo necesito para que ahora en funciones XP. Error sin ..

    one amigo me lo digo que cree create a config.cfg, pero que poner configuracion of y como en Debo and para que estar Debe of functional correctamente me.

  2. seba says:

    why is my error not found cd / dvd to install windows7?

  3. Andrey says:

    to me looks like this:
    TCAS max 52C
    Core # 0 43C
    right?

  4. [...] Open the command prompt with Administrator privileges. Click on Start Menu -> type "cmd" in the "Search [...]

  5. Stephanie Vallejo says:

    tell me how to simple ways to erase all my history as i say (format now)

Comment?

*

ArabicBulgarianChinese (Simplified)Chinese (Traditional)CroatianCzechDanishDutchEnglishEstonianFinnishFrenchGermanGreekHebrewHindiHungarianIndonesianIrishItalianJapaneseKoreanLatvianLithuanianNorwegianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwedishThaiTurkishUkrainianVietnamese