Introduction to DOS operating systems
History of DOS
- developed by Bill Gates and Co. - 1983 (MS-DOS)
- based on many unix concepts
- many revisions (DOS 2.1, 3.3, 4.0, 6.0, etc.)
Overview
- 系統的啟動(boot), 分為
- cold boot - power off and on
- warm boot - [ctrl][alt][del]
- everything is a file
- hierarchical file structure
uses '\' to separate sub-directories
- file specifications
- device -- c:
- directory path -- c:\courses\fortran\
- file name (1-8 chars)
- file extension (1-3 chars)
- delete character -- [del] , halt process -- ctrl-c
- command structures and switches
e.g., dir /w
Basic Commands
- directory of files -- DIR
filename wildcards -- ? and *
- directory create and navigate -- mkdir, cd, rmdir, pwd
- copy
- file rename, delete
- view parts of a file -- TYPE, along with [pause] key
- pipe to more filter for easier viewing
- many DOS versions have HELP command
use more to demonstrate ( help | more )
- I/O redirection
- The
Web-Based Guide to DOS
-- a reference guide