Professional Documents
Culture Documents
WMSU
What is the difference between the two user
interface?
1981 2021
Command Shell
• Command Shell
– software program that provides direct communication between the user and the operating
system.
– Non-graphical user interface
– The command shell in the Windows Server operating system uses the command
interpreter, Cmd.exe.
• Cmd.exe
– loads applications
– directs the flow of information between applications,
– and translates user input into a form that the operating system understands.
DOS Commands
• DOS Commands
– are instructions to perform tasks on files and directories.
– commands can be typed in either uppercase or lowercase
• Directory
– files where we store group of information or data, and collection of group of files
– “Folder”
• Path
– A string that defines the location of a certain object (file).
DOS Commands
• MS-DOS file names format
– e.g. ReadMe.txt
– to name a file or a directory, special characters (< > , . / * ? | etc..) are not allowed.
DOS Command
DOS commands are divided into 2 types:
1. Internal Commands
Perform basic operations on files and directories
Do not need any external file support
2. External Commands
Perform advanced tasks and need some external file support as they are not
stored in the COMMAND.COM
C:\>date /t
- Display the system’s current date setting without prompting for a new
date
C:\>date 05-05-19
C:\>date 05.05.2019
C:\>date 5/5/19
- To change the current system date to new date, use any of the
format. (administrative credentials only)
Internal Commands
C:\>time
- Displays or sets the system time. If used without parameters, time
displays the current system time and prompts you to enter a new time.
C:\>time /t
-Displays the current system time.
C:\>time 17:30:00
C:\>time 5:30 PM
-To change the current system time to new time.
Internal Commands
C:\>copy con filename.extension
The purpose of this command is to create a file. File extension is
optional, by default the file type is FILE.
e.g. copy con hello.txt
C:\>del c:\users\pc\documents\helloworld.txt
-delete the file helloworld.txt with the specified path.
Internal Command
C:\>cd directory
- Change from one directory or sub-directory
e.g.
C:\Users\PC>cd Documents
C:\Users\PC\Documents>
C:\>cd ..
-Moves the directory one level down.
External Command
C:\>CHKDSK
-returns the configuration status of the selected disk. It returns the
information about the volume, serial number, total disk space, space
in directories, space in each allocation unit, total memory and free
memory.
s = system
h = hidden
r = read-only
d = include any process folder