50 Dos Command
50 Dos Command
EXE-If you are logged on as an administrator you can run a program as a different user. usage-type runas.exe /username at the command prompt 3 SYSTEMINFO-Displays machine specific properties and configuration. 4 SHUTDOWN-Allows proper local or remote shutdown of machine. Usage: SHUTDOWN [/i /l /s /r /g /a /p /h /e] [/f] * /L MEAN S LOG-OFF /A means prevent shut-down 5 VERIFY-Tells Windows whether to verify that your files are written correctly to a disk. 6 XCOPY-Copies files and directory trees. XCOPY source [destination].E.g C:\>XCOPY "C:\EFI\microsoft\boot\fonts" "C:\Us ers\Success\Documents\good" 7 ver- displays the windows version. 8 Prompt [text]-Changes the cmd.exe command prompt. e.g $N Current drive $P Current drive and path 9 VOL-Displays a disk volume label and serial number. 10 RECOVER- Recovers readable information from a bad or defective disk. RECOVER [drive:][path]filename. 11 CHKDSK-Checks a disk and displays a status report. CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] e.g C:\>chkdsk d:/f fixes disk errors. 12 CD-Displays the name of or changes the current directory. e.g C:\>cd /d e: changes the current drive to e:\>. 13 CHCP-Displays or sets the active code page number. CHCP [nnn] nnn Specifies a code page number.Type CHCP to display active cod e page number. 14 CLS-Clears the screen. 15 CHKNTFS-Displays or modifies the checking of disk at boot time. e.g chkntfs c: 16 COLOR-Sets the default console foreground and background colors. Example: "COLOR fc" produces light red on bright white. 17 CONVERT-Converts FAT volumes to NTFS.You cannot convert the current drive. C:\>convert c:/fs:ntfs 18 COMPACT-Displays or alters the compression of files on NTFS partitions.usagec:\>compact for display. 19 COPY-Copies one or more files to another location.e.g copy filename destinati on. 20 DATE-Displays or sets the date.Key it in at the command prompt. 21 DEL-Deletes one or more files.e.g del folder(this delees all the files in it) . 22 DIR-Displays a list of files and subdirectories in a directory. 23 DISKCOMP-Compares the contents of two floppy disks. 24 DISKCOPY-Copies the contents of one floppy disk to another. 25 DISKPART-Displays or configures Disk Partition properties.Key it in at the pr ompt. 26 DOSKEY-Edits command lines, recalls Windows commands, and creates macros. e.g doskey/history - displays history of dos commands. 27 ECHO-Displays messages, or turns command echoing on or off. 28 EXIT-Quits the CMD.EXE program (command interpreter). 29 START-Starts a separate window to run a specified program or command. 30 FORMAT-Formats a disk for use with Windows.
31 SCHTASKS-Schedules commands and programs to run on a computer. 32 FTYPE-Displays or modifies file types used in file extension associations. 33 SC-Displays or configures services (background processes). 34 CALL-Calls one batch program from another. E.g call notepad. This opens notep ad. 35 HELP-Provides Help information for Windows commands 36 MD-Creates a directory. 37 MODE-Configures a system device. 38 MORE- Displays output one screen at a time. e.g more "d:\my videos\ass.txt" 39 MOVE-Moves one or more files from one directory to another directory.usage-move source destination. 40 PATH-Displays or sets a search path for executable file. 41 PAUSE-Suspends processing of a batch file and displays a message.display-Pres s any key to continue . . . 42 PRINT-Prints a text file. 43 RD-Removes a directory. 45 REN-Renames a file or files. 46 SET-Displays, sets, or removes Windows environment variables. 47 TASKLIST-Displays all currently running tasks including services. 48 TASKKILL-Kill or stop a running process or application. 49 TIME-Displays or sets the system time. 50 TITLE-Sets the window title for a CMD.EXE session.