Basic Microsoft DOS Command of Computer

BASIC INTERNAL DOS COMMAND OF TECHNICIAN
THE INTERNAL DOS COMMAND: The basic DOS Command that could help to you how to manage files using the MS-DOS.And may also as your pointers for the exam of NC2.As a Computer Technician it is very needed how to use the MS-DOS operations whenever the windows operating system was damaged or corrupted.

As of now we have 7 or 8 operating systems of Microsoft Windows.From windows 95 to windows 8, its started from the graphical user interface of those computer’s before.Which is IBM compatible and can support multi media or a movie files.But what is this operating systems and how is it important of the computer systems?, “particularly installed on microcomputers in order for the user to easily manipulate the data in the system and to run the system and its parts and devices simultaneously”. “And the MS-DOS serves as the backbone of windows operating system when the main OS is disabled or uninstalled.And also used to access data and settings in the computer.”

There are different ways in opening the MS-DOS, either win xp or win 98.You need to follow this simple steps:
  1. In win XP
  • click start button/click run/type in the bar CMD(means command mode)
  • press enter key
Also you can use the advance menu of the operating system once it turn on or restart
  • during bootup or power up, once POST is being displayed press F8 key
  • After a few seconds the advance menu will appear
  • select “safemode the computer with command prompt
  • the computer will boot in safemode process wait until the MS-DOS command line will appear.
Using also your CD/DVD installer you can access the command prompt during start up
  • Just power your computer
  • Enter the BIOS setup
  • setup your boot sequence, CD/DVD ROM
  • Press F10 to save your settings
  • Once POST being displayed press any key to load the startup files
  • Once the screen is blue and prompted to 3 options, select option number 2
  • Press 1 once enter in DOS Mode(if administrator password need to enter just type it)
  • Once you are in command line you are ready for your DOS command
There are two types of DOS command
  1. Internal DOS commands-this type of DOS command called also as resident commands that resides in the memory of computer that can be easily access anytime.
    • DIR- use to find out what files are on a diskette or hard drive
    • REN-rename files
    • CLS- clear the screen, used mostly in batch files
    • COPY-make copies of files
    • VER- tells what version of DOS you are using
    • DEL- erase(delete)files
    • MD,RD,CD- command lines to make,remove,and change the default specified directories
    • Root directory symbol (\):when leading used to indicate “starting from the root directory…” and as a separator when listing successive directories.Using wild card(?),(*):When designating groups of files.? is a single-character wild card, and * is a multiple-character wild card.DOT(.)and double dot(..):A single dot means the same as *.* when referring to current directory.
Exercise 1: DIR- displays files and directories inside a disk
switches:
/P-displays one screen then pause
/w-displays in wide screen
/A-displays files and directories including hidden files
/S-displays the list of file and directory names in all subdirectories
/O-sort order specifies the order in which the DIR displays file and directory names.
MINUS SIGN(-) reverse action of the order value
N sorts alphabetically
E sorts alphabetically by extension
D sorts by date and time,earliest time first
S sorts by size, smallest first
G sorts with directories grouped before files
  • running in command line
c:\>DIR 
C:\>DIR /P
C:\>DIR /P/W
C:\>CLS
C:\>VER
C:\>MD EXER
C:\>DIR
C:\>CD EXER
C:\EXER>DIR
C:\EXER>MD PRAC
C:\EXER>DIR
C:\EXER>CD PRAC
C:\EXER\PRAC>
EXERCISE 2: CD-Change to different directory.
                     Switches:
                                   \-Refers to the root directory
                                   ..-Level higher than the current directory
                                   .-Specify the current directory
                                   Path-the directory or subdirectory name
To change directory one level higher
  • C:\EXER\PRAC>CD..
  • C:\EXER>
  • C:\EXER>CD PRAC
  • C:\EXER\PRAC>
To change to root directory
  • C:\EXER\PRAC>CD\
  • C:\>
Adding path to CD command
  • C:\>CD DOS
  • C:\DOS>CD\EXER
  • C:\EXER>
EXERCISE 3: RD- Remove directory
  • C:\EXER>RD PRAC
  • C:\EXER>DIR    (directory PRAC is removed)
EXERCISE 4: COPY- Copies one or more files to the location you specify.
  • C:\EXER>COPY C:\AUTOEXEC.BAT
  • C:\EXER>DIR
EXERCISE 5: Command copy with source path and target path
           At root directory C:
  • C:\>COPY C:\EXERCISES\*.* C:\PRAC
  • C:\>CD PRAC
  • C:\PRAC>DIR
EXERCISE 6: DEL- Delete or erase file(s)
          To delete one file
  • C:\EXER>DEL PAYROLL.XLS
  • C:\EXER>DIR
          To delete all files
  • C:\EXER>DEL.
  • C:\EXER>DIR
EXERCISE 7: TYPE- Displays the contents of a text file
          At a root directory C:
  • C:\>TYPE AUTOEXEC.BAT
  • C:\>TYPE CONFIG.SYS

TIPS!


  • You need also to learn the EXTERNAL DOS COMMAND that very use to all computer technicians and technologies.
Basic Microsoft DOS Command of Computer Arnel Cartoneros 5 of 5
THE INTERNAL DOS COMMAND : The basic DOS Command that could help to you how to manage files using the MS-DOS.And may also as your pointer...
Share on Google Plus

About Arnel Cartoneros

Arnel is a Blog creator and writer, A founder and publisher of www.combinebasic.com and www.nuggetro.info. Part time Computer Instructor, Computer And Electronic Technician, And performing job as Biomedical Machine Specialist. I'm an avid fan of social media and very interested in Technical information and innovation.