Windows Command Prompt TutorialIntroduction Internal and External commands Basic Commands Basic file commands Sorting the data Searching patterns in file Comparing files Variables in Windows command prompt Piping Input and Output Redirection View all processes and tasks killing tasks scheduling tasks Network commands System hardware commands
Internal vs External commands in windows command promptThere are 2 types of commands in Windows command prompt.
Internal commandsThese commands are called as internal because binary file for such commands does not exist. These commands are always loaded into memory when system is booted. Here is the list of some of the Internal Commands.
- CD, COPY, DEL, DIR, MD, PATH, REN, RD
- CLS, ECHO, EXIT, TYPE
- DATE, TIME
- BREAK, CALL, CHCP, FOR, GOTO, IF, PAUSE, PROMPT, REM
- SET, SHIFT, VER, VERIFY, VOL
External commandsThese commands are called as external commands because there is binary file for such commands on hard disk. These commands are actually exe files that reside on hard disk. (Usually in %WinDir%\System32). External commands usually have extensions like .exe, .bat, .com Here is the list of some of the popular External Commands
- ATTRIB.EXE, BACKUP.EXE, CHKDSK.EXE
- COMMAND.COM, COMP.EXE, DOSKEY.COM, EXE2BIN.EXE, FDISK.EXE
- HELP.EXE, JOIN.EXE, MORE.COM, PRINT.EXE
- RECOVER.EXE, REPLACE.EXE, RESTORE.EXE
- SORT.EXE, SUBST.EXE, SYS.COM, TREE.COM, XCOPY.EXE
Web development and Automation testing