home *** CD-ROM | disk | FTP | other *** search
/ Hobbies & Leisure - Plus Bible Study & Games / HobbiesLeisurePlusBibleStudyAndGamesMapleMedia1995.disc1of1.iso / what_shr / dos.txt < prev    next >
Text File  |  1993-05-20  |  7KB  |  184 lines

  1.  
  2.        ---------------------------------------------------------------- 
  3.        
  4.                    MINIMUM DOS COMMANDS FOR USING SHAREWARE
  5.        
  6.        ---------------------------------------------------------------- 
  7.        
  8.        Before we move forward, a brief refresher course in several
  9.        basic DOS operations without which a shareware disk is useless.
  10.  
  11.                                 DOS SYNTAX
  12.  
  13.        A DOS command must always use the same syntax illustrated
  14.        below:
  15.  
  16.        COMMAND <blank space> WHAT? <space> WHERE? <press return/enter>
  17.  
  18.        Example: COPY PCLEARN.TXT B:  <press return/enter key>
  19.        Example: TYPE PCLEARN.DOC     <press return/enter key>
  20.  
  21.        In the second example DOS assume the WHERE is the screen.
  22.        In the first example DOS needs to be told that a copy
  23.        of a file is to be sent to the B: floppy drive.
  24.  
  25.        NOTE! Generally DOS commands, drive letters and filenames
  26.        and be typed in upper or lower case or both, since DOS
  27.        is not fussy in that respect. It is ok to use capital letters, 
  28.        small letters or any combination.
  29.  
  30.                                 THE DIR COMMAND
  31.        
  32.        An essential command which displays the names of the files 
  33.        on a disk.
  34.  
  35.        Example: A>DIR <press return/enter>   
  36.        
  37.        Lists files on the diskette your are in THE DEFAULT DRIVE, in 
  38.        this case is A:
  39.  
  40.        Example: A>DIR B:
  41.  
  42.        Lists files in the B: drive. We have omitted the <press enter/
  43.        return> since you already know this is necessary after a DOS
  44.        command.
  45.  
  46.        Example: A>DIR /P
  47.  
  48.        List files in current default drive but pause after each 
  49.        screenful of information.
  50.  
  51.        Example: A>DIR B: /P
  52.  
  53.        Same as above, but list the files on B: drive with a pause.
  54.  
  55.        Example: A>DIR /W  
  56.  
  57.        List current default drive but display in wide screen mode
  58.        for numerous files.
  59.  
  60.        NOTE! With any DOS operation which rapidly fills and overflows
  61.        the screen with data, try pressing CTRL-S (control or ctrl key
  62.        plus the S key together at same time) to pause the screen.
  63.        Any key touched resumes the scrolling display and CTRL-S
  64.        repeated pauses again. Very handy!
  65.  
  66.        NOTE! Switching drives is easy. If you see this:    A>
  67.        and you want to change the default drive to this:   B>
  68.        then simply do this:       A>B:   <press return/enter>
  69.        Switching default drives is an essential skill!
  70.  
  71.                               THE FORMAT COMMAND
  72.  
  73.        This prepares a blank disk to receive new information. You must
  74.        format disks out of the package from the store before you can 
  75.        use them. Formatting tests a disk and installs magnetic tracks
  76.        where information will later reside.
  77.  
  78.        Examples:
  79.  
  80.        C>FORMAT A:           format floppy in A:
  81.        A>FORMAT B:           format floppy in B:
  82.        C>FORMAT B:/S         see below for explanation . . .
  83.  
  84.        The last example formats the disk in B: drive and also adds the
  85.        special system files so that the disk can be self starting
  86.        or self booting. Not essential with most disk you will work 
  87.        with. You MUST have the special file FORMAT.COM on your disk or 
  88.        hard drive to able to do this operation since FORMAT.COM normally
  89.        resides EXTERNALLY on a floppy or in a special area of your hard 
  90.        drive.
  91.  
  92.                         THE COPY AND DISKCOPY COMMANDS
  93.  
  94.        Moves, copies and even renames files as they pass from one
  95.        disk to another.
  96.  
  97.        Examples:
  98.  
  99.        A>COPY *.* B:    Copies ALL files (indicated by *.*) to the
  100.                         B: floppy drive.
  101.  
  102.        A>DISKCOPY A: B: 
  103.  
  104.        This is a variation of the copy command. The above example will
  105.        copy the ENTIRE contents of the diskette in the A: drive to the
  106.        B: drive. DISKCOPY.COM is an external file and must be available
  107.        to be used! The COPY command is an internal command (always 
  108.        resides in your computer's RAM memory and is thus ALWAYS 
  109.        AVAILABLE - unlike DISKCOPY.COM)
  110.        
  111.        A>DISKCOPY A: A:
  112.  
  113.        This is a variation of the diskcopy command. The above example will
  114.        copy the ENTIRE contents of the diskette in the A: drive to the
  115.        A: drive for those using ONLY a single floppy drive system and
  116.        perhaps not having a B: or C: drive. In essence, this variation
  117.        copies the SOURCE diskette into memory, allows you to remove the
  118.        SOURCE diskette, insert a blank formatted TARGET diskette and 
  119.        transfer the files to that new floppy. Useful for those having only 
  120.        a single floppy drive.
  121.  
  122.        C>COPY A:*.* B:
  123.  
  124.        Copies all files from A: to B: while still in the C: default
  125.        directory.
  126.  
  127.        C>COPY A:HAPPY.DOC B:
  128.  
  129.        Copies only the file HAPPY.DOC to B:
  130.  
  131.        NOTE! DISKCOPY is an external command and must be on the disk
  132.        or in the default directory to work. COPY is an internal command
  133.        and is always available at the DOS command line. We mentioned 
  134.        this before, but it is worth repeating . . . 
  135.  
  136.                                  TYPE COMMAND 
  137.  
  138.        Lets you view the internal contents of a file on the screen.
  139.        If the file is in ASCII or english text (same thing) you will be 
  140.        able to read it. If the file is not ASCII then you will see
  141.        symbols which are gibberish. Only text or ASCII files are
  142.        readable for the most part.
  143.  
  144.        Examples:
  145.  
  146.        C>TYPE MANUAL.DOC 
  147.  
  148.        Type the contents of the file MANUAL.DOC to the screen. Remember
  149.        to use CTRL-S to pause, any key to resume scrolling and
  150.        CTRL-S to pause again.
  151.  
  152.        A>TYPE B:MANUAL.DOC
  153.  
  154.        Type the file MANUAL.DOC which is located on the B: drive to the 
  155.        screen.
  156.  
  157.                                  PRINT COMMAND
  158.  
  159.        There are actually two ways to print text or documentation files 
  160.        on your printer.
  161.        
  162.        Examples:
  163.  
  164.        C>PRINT EXAMPLE.DOC
  165.  
  166.        Prints on your printer the contents of the file EXAMPLE.DOC.
  167.        Note that PRINT command is an external file and must be present
  168.        in the default drive to be used!
  169.  
  170.        C>TYPE EXAMPLE.DOC>PRN
  171.  
  172.        This is a useful alternative method of accomplishing the same 
  173.        result by using the TYPE command which is an internal command, 
  174.        always available and redirecting the output to a printer. The small
  175.        > symbol is found as a shifted period mark on most keyboards
  176.        and in other locations on your keyboard. Be sure to find and try 
  177.        the > symbol. 
  178.  
  179.        NOTE! To stop printing use the CTRL-C key combination to stop the 
  180.        printing and completely abort. CTRL-C works to abort just about 
  181.        ANY DOS operation safely.
  182.  
  183.  
  184.