Networking

DOS-Disk Operating System

A Command Line Operating System by Microsoft

The DOS operating system was used in the 1980’s and it was developed by Microsoft. This is why it was called MS- DOS. What does DOS stand for? Disk Operating System. In the days of was no Windows since you were dealing with IBM PC clone and memory was scarce. No C drive just two floppy drives. Some basic commands of DOS Well, you want to inside of folder in a drive. Say D drive has a folder called techK. List everything inside the folder. First you go to D Rive. cd D: Then you want to see what is inside D drive: Type: dir you get a list of files and directories. So you see techK folder. Type: cd techK DOS does not allow you to see all contents by clicking. You need to know exact folder name and file name. Copy Command There is no paste here you copy and move. We use XCopy which is advanced version of copy Command. Steps:
  1. Click Start.
  2. In search box, type:cmd.
  3. Right click and choose “Run as Administrator”
  4. We want move contents from Folder1 in E drive to applick folder in F Drive.
Type Command: C:\>xcopy E:\Personal_AM\folder1 E:\applick /E/H Then press enter. You will see a message: Does E:\applick specify a file or target directory name on the target? (F=File,D=Directory) applick is a folder name. Format of command is xcopy [source] [destination].
  1. Enter and all files are copied.
To find if you are connected to internet.
  1. Open Command Prompt.
  2. Type ping Google.com and press enter.
You see result: C:\Users\Abbas>ping yahoo.com Pinging yahoo.com [2001:4998:44:3507::8000] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 2001:4998:44:3507::8000: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), C:\Users\Abbas> You can understand internet connection is not well. To see contents in a text file.
  1. You have a file called file1.txt. You wrote into it “The grass is green” and saved it in E drive.
  2. Open Command prompt. Type: E:
  3. Type: type file1.txt and press enter.
  4. You will see: The grass is green.
To create a Folder or Directory using commands.
  1. Type (in command prompt): say you are in E drive E:> mkdir MyFolder and press enter.
Restarting computer CTRL+ALT +DEL at a time. Clearing screen Type CLS Getting present date date  

Some Dos Commands

IDDOS CommandFunction
TKD0001dirshows Directory or folders.
TKD0002dir/wOrganized directory
TKD0003exitClose program
TKD0004copy *.txt d:\copies all text files in current directory to D drive.
TKD0005clsclear screen
TKD0006chdirchange directory
TKD0007colorchange background of screen
TKD0008deldelete
TKD0009deletedelete files
TKD0010diskcopycopies from one disk to another
TKD0011diskcompcompare contents from one drive to another.
TKD0012formatdeletes a hard disk
TKD0013fixbootfixes a boot sector
TKD0014ftpsend data by ftp
TKD0015mdcreate directory
TKD0016mkdircreate directory
TKD0017netstatshow TCP/IP information
TKD0018systransfers system files to another computer
update, window, open-3378261.jpg

The Origin Of DOS.

The story behind disk Operating System will be covered in another post.

Follow us in Pinterest
TechKid
Follow Us
Latest posts by TechKid (see all)

TechKid

TechKid is an IT professional who has experience in IT for 18 years plus.  In Software as well as Graphics Design marketing and outsourcing. Quora Profile

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button