CS201

Lab-Lecture 4

 

This is not a handout for lecture purpose. This is not a formal handout. This handout is for students to refresh their memories about the topics that were covered in the lab.

 

  1. What is DOS
  2. Some commands in DOS:
    1. Directory

                                                               i.      C:\>dir àdisplays contents of C drive

                                                             ii.      C:\>dir | more àdisplays the directory one screen at a time with

    1. Copy

                                                               i.      C:\>copy alam\CS201.txt  Assignment     C: àcopies cs201.txt from alam folder in C drive and paste in Assignment folder

    1. Change Directory

                                                               i.      C:\>cd a:\ àwill change the directory from C to a

or

                                                             ii.      C:\>a: à will change the directory from C to a

    1. View Content of a file:

                                                               i.      C:\> type cs201.txt àdisplays the content of cs201.txt file

  1. Learn how to turn in your home work to my folder