1. Write the syntaxes and example of following DOS Commands
a) Date
Syntax
C:date
Function
DATE. Purpose: Displays current date setting and provides a way to reset the date.
Output
b)
Time
Syntax
C:TIME
Function
Displays current time setting of system clock and provides a way for you to reset the time.
Output
5. e) Tree
Syntax:
C: tree
Function
Displays directory paths and (optionally) files in each subdirectory.
Output
Write the syntaxes and example of following DOS Commands
f) Make a directory
Syntax:
C:> MD mbaevening
Function
Creates a new subdirectory.
6. Output
g) Change a directory
Syntax:
C: CD mbaevening
Function
CD (Change Directory) is a command used to switch directories in MS-DOS
7. Output
h) Creating a new text file
Syntax:
C: COPY CON itm.txt
Mechanical engineering is the discipline that applies the principles of engineering, physics,
and materials science for the design.^z
Function
8. Copy con is an MS-DOS and Windows command line command that allows the creation of a
file through the command prompt.
After this command is typed, you'll be returned to a blank line, which is the start of your file.
Enter the lines you want to insert into the file and, when done, press Ctrl+Z to create the file.
Output
9. i) Display a data of an existing file
Syntax:
C: TYPE itm.txt
Function
Displays the Pre-created files in MS DOS
Output
10. j) Make duplicate files of an existing file from one location to another
location.
Syntax:
C: COPY C: mbaeveningitm.txt C:mbamng
Function
Copies or appends files. Files can be copied with the same name in another location.
Output