Common DOS Commands

Disk Operating System is a set of control programs which manages the computer’s resources and creates a well-defined software environment for applications. It is an operating system which controls the computer hardware. Word perfect, LOTUS, dBase, TURBO C/C++, etc are some software which runs under DOS.

Summary

Disk Operating System is a set of control programs which manages the computer’s resources and creates a well-defined software environment for applications. It is an operating system which controls the computer hardware. Word perfect, LOTUS, dBase, TURBO C/C++, etc are some software which runs under DOS.

Things to Remember

  • Disk Operating System is a set of control programs.
  • There are 2 types of commands; Internal and External commands.
  • Internal commands refer to built-in commands.
  • Those commands that are on the disk as separate program files are called External commands. 

MCQs

No MCQs found.

Subjective Questions

Q1:

Define fracture. 


Type: Very_short Difficulty: Easy

Show/Hide Answer
Answer: <p>A fracture is a medical condition in which there is a break in the continuity of the bone. It is a break in the surface of a bone, either across its cortex or through its articular surface.</p>

Q2:

Explain nursing management for fractures. 


Type: Long Difficulty: Easy

Show/Hide Answer
Answer: <p>It simply means an infection of the bone or bone marrow.&nbsp;</p>
<p>Pain or tenderness in the infected area.&nbsp;</p>
<p>Lower back pain&nbsp;</p>
<p>Biopsy: a biopsy of the infected bone may be taken and tested for signs of an invading organism.&nbsp;</p>
<p>Sequestrectomy: removal of dead, infected bone and cartilage.&nbsp;</p>
<p>Use strict aseptic technique when changing the dressing and irrigating wounds.&nbsp;</p>
<p>Look for the sudden malpositioning of the affected limb, which may indicate a fracture.&nbsp;</p>
<p>Although all bones are subject to infection, the lower extremity is most commonly involved.</p>

Q3:

Explain in detail about fracture. 


Type: Long Difficulty: Easy

Show/Hide Answer
Answer: <ul>
<li><strong>Fractures</strong></li>
</ul>
<p>A fracture is a medical condition in which there is a break in the continuity of the bone. It is a break in the surface of a bone, either across its cortex or through its articular surface.</p>
<p><strong>Pathophysiology</strong></p>
<p>The natural process of healing a fracture starts when the injured bone and surrounding tissues bleed, forming a fracture hematoma. The blood coagulates to form a blood clot situated between the broken fragments. Within a few days, blood vessels grow into the jelly-like matrix of the blood clot. The new blood vessels bring phagocytes to the area, which gradually remove the non-viable material. The blood vessels also bring fibroblasts in the walls of the vessels and these multiply and produce collagen fibers. In this way, the blood clot is replaced by a matrix of collagen. Collagen's rubbery consistency allows bone fragments to move only a small amount unless severe or persistent force is applied.</p>
<p>At this stage, some of the fibroblasts begin to lay down bone matrix in the form of collagen monomers. These monomers spontaneously assemble to form the bone matrix, for which bone crystals (calcium hydroxyapatite) are deposited in amongst, in the form of insoluble crystals. This mineralization of the collagen matrix stiffens it and transforms it into bone. In fact, bone is a mineralized collagen matrix; if the mineral is dissolved out of bone, it becomes rubbery. Healing bone callus is on average sufficiently mineralized to show up on X-ray within 6 weeks in adults and less in children. This initial "woven" bone does not have the strong mechanical properties of mature bone. By a process of remodeling, the woven bone is replaced by mature "lamellar" bone. The whole process can take up to 18 months, but in adults, the strength of the healing bone is usually 80% of normal by 3 months after the injury.</p>
<p>Several factors can help or hinder the bone healing process. For example, any form of nicotine hinders the process of bone healing,[3] and adequate nutrition (including calcium intake) will help the bone healing process. Weight-bearing stress on the bone, after the bone has healed sufficiently to bear the weight, also builds bone strength. Although there are theoretical concerns about NSAIDs slowing the rate of healing, there is not enough evidence to warrant withholding the use of this type analgesia in simple fractures.</p>
<p><strong>Sign and symptoms</strong></p>
<ul>
<li>Pain</li>
<li>Loss of function</li>
<li>Deformity</li>
<li>Shortening</li>
<li>Crepitus</li>
<li>Swelling and discoloration</li>
</ul>
<p>&nbsp;</p>
<p>Types of fracture</p>
<p><strong>Diagnosis</strong></p>
<ul>
<li>History taking</li>
<li>Physical examination</li>
<li>X &ndash; ray</li>
<li>CT &ndash; Scan</li>
</ul>
<p><strong>Treatment</strong></p>
<ul>
<li><strong>Medical therapy &ndash;&nbsp;</strong>patients should receive adequate analgesics in the form of acetaminophen or opiates, if necessary.</li>
<li><strong>Cast immobilization</strong>&nbsp;&ndash; a plaster or cast is the most common type of fracture treatment because most broken bones can heal successfully once they have been repositioned and a cast has been applied to keep the broken ends in proper position while they are heal.</li>
<li><strong>Functional cast or Brace&nbsp;</strong>&ndash; the cast or brace allow to limited or controlled movement of nearby joints. This treatment is desirable for some but not all fractures.</li>
<li><strong>Traction &ndash;&nbsp;</strong>traction is usually used to align a bone or bones by a gentle, steady pulling action.</li>
<li><strong>Open reduction and internal fixation &ndash;</strong>&nbsp;An open reduction and internal fixation (ORIF) is a type of surgery used to fix broken bones. This is a two-part surgery. First, the broken bone is reduced or put back into place. Next, an internal fixation device is placed on the bone. This can be done with screws, plates, rods, or pins that are used to hold the broken bone together.</li>
<li><strong>External fixation -&nbsp;</strong>External fixation is a surgical treatment used to stabilize the bone and soft tissues at a distance from the operative or injury focus. They provide unobstructed access to the relevant skeletal and soft tissue structures for their initial assessment and also for secondary interventions needed to restore bony continuity and a functional soft tissue cover.</li>
</ul>
<p><strong>The parts of an external fixator include</strong>:</p>
<ol>
<li>Schanz pin</li>
<li>Connecting rod</li>
<li>Clamps.</li>
</ol>
<p>In this kind of reduction, holes are drilled into uninjured areas of bones around the fracture and special bolts or wires are screwed into the holes. Outside the body, a rod or a curved piece of metal with special ball-and-socket joints joins the bolts to make a rigid support. The fracture can be set in the proper anatomical configuration by adjusting the ball-and-socket joints. Since the bolts pierce the skin, proper cleaning to prevent infection at the site of surgery must be performed.</p>
<p><strong>Nursing Management</strong></p>
<ul>
<li>Provide emergency care if required ( hemostasis, respiratory care, prevention of shock<strong>)</strong></li>
<li>Observe signs of fat embolism (especially during first 48 hours after the fractures.)</li>
<li>Monitor fluid input and output continuously, insert IV, catheter</li>
<li>Monitor client laboratory test results for abnormal values.</li>
<li>Administer IV therapy, analgesic, antibiotics and other medications as prescribed.</li>
<li>Prepare client and family for surgical intervention if required.</li>
<li>Provide outline post-operative nursing care and teach about possible post operative complications to clients after surgical intervention.</li>
<li>Provide care to the patient with the cast (observe signs of circulatory impairment &ndash; change in skin color and temperature, diminished distal pulses, pain, and swelling of the extremity, protect the cast from damage.)</li>
<li>Provide care to the client with the traction (check the weights are hanging freely, observe skin for irritation and site of skeletal traction for signs of infection; use of aseptic techniques when cleaning the site of infection.)</li>
<li>In a case of hip fracture and hip replacement maintain the adduction of the affected extremity.</li>
<li>Provide respiratory exercise to prevent lungs complication.</li>
<li>Observe for the sign of thrombophlebitis; report it immediately to senior.</li>
<li>Provide skin care to prevent pressures sores.</li>
<li>Encourage fluid intake and high protein, high vitamin, high calcium diets.</li>
<li>Teach the clients appropriate crutch- walking techniques.</li>
</ul>
<p>Provide emotional support to the clients; explain all the procedures to decrease the anxiety and to obtain cooperation</p>

Videos

No videos found.

Common DOS Commands

Common DOS Commands

INTRODUCTION

Disk Operating System (DOS) is a set of control programs which manages the computer’s resources and creates a well-defined software environment for applications. It is an operating system which controls the computer hardware. Word perfect, LOTUS, dBase, TURBO C/C++, etc. are some software which runs under DOS.

Commonly used as the short form for MS-DOS, it was first developed in 1979. It grew from 1981 when it was requested by IBM for an operating system for its IBM PC range of personal computers. Then, Microsoft quickly bought the rights to QDOS (Quick and Dirty Operating System), also known as 86-DOS from Seattle Computer Products and began working on modifying it to meet IBM’s specification. The 1st edition, MS-DOS 1.0 was launched in 1982. The version shipped with IBM’s PCs was called PC DOS.

The main features of MS-DOS are:

  • It is a single user, single programming operating system.
  • It supports the hierarchical file system.
  • It supports the dynamic file allocation.
  • Disks such as floppy disk and hard disk are both supported.
  • It is machine independent i.e. it supports a variety of languages.
  • It supports I/O devices.

TYPESOF COMMANDS

Internal commands

Internal commands refer to built-in commands. They are such commands that are already loaded into memory when command.com is loaded. Thus, these are also called memory-resident commands. Since, they are parts of command.com file, they are not listed by DIR command while they can be executed by any DOS prompt because they don’t need to read any extra program file, they execute immediately.The command available are all combined together and are stored in Command.com file, which is a executable command file. These internal command are further grouped according to their properties.

Some Internal commands, their syntax and uses are:

  • Command: DIR (directory)

Syntax: DIR [drive:] [path] [/p] [/w] [/O: Order] [/A: Attributes] [/s]

Use: This command is used to display a list of files, directories and sub-directories.

Here,

p

Page by page

w

Column wise

O

Order

A

Attributes

s

Sub-directories

  • Command: COPY

Syntax: COPY [drive:] [path] [drive:] [path]

Use: This command is used to make duplicate files from one location to another.

  • Command: DATE

Syntax: DATE

Use: This command is used to display and change the date of a computer.

  • Command: TIME

Syntax: TIME

Use: This command is used to change and display the current time of the computer.

  • Command: CLS

Syntax: CLS

Use: This command is used to clear up the screen.

  • Command: TYPE

Syntax: TYPE [drive:] [path]

Use: This command is used to look at a text file’s content which was already made.

  • Command: DEL (delete)

Syntax: DEL [drive:] [path]

Use: This command is used to delete files.

  • Command : REN (rename)

Syntax: REN

Use: This command is used to rename files.

  • Command: VOL (volume)

Syntax: VOL [drive:]

Use: This command is used to display volume level of the disk drive.

  • Command: MD (make directory)

Syntax: MD

Use: This command is used to create a new directory for use.

  • Command: CD (change directory)

Syntax: CD

Use: This command is used to change or get into the directory.

  • Command: RD (remove directory)

Syntax: RD

Use: This command is used to remove a directory which must be empty.

  • Command: TREE

Syntax: TREE [drive:] [path]

Use: This command is used to display all the files, sub-directories, and directories in a tree structure.

  • Command: EXIT

Syntax: EXIT

Use: This command is used to exit or close the DOS or to return to a windows application.

  • Command: PROMPT

Syntax: PROMPT [text or definition]

Use: This command is used to change MS-DOS prompt style.

Here,

Text Option

Meaning

$D

Current date

$T

Current time

$Q

Equal sign

$P

Current drive and path

$V

Ms-DOS version number

$G

Greater than sign

$L

Less than sign

$P$G

Original prompt

$B

Pipe sign (│)

$_

No prompt

External commands

www.slideshare.net
www.slideshare.net

Those commands that are on the disk as separate program files are called External commands. Therefore, they are comparatively slower than internal commands in execution as they must be read from disk before they are executed. Since, they are not the part ofcommand.com, they can be listed by DIR command. All program files are external commands.

(Karn & Pudasaini, 2015)

Some External commands, their syntax, and uses are:

  • Command: UNDELETE (undelete.exe)

Syntax: UNDELETE [drive:] [path]

Use: This command is used to recall deleted files, directories and sub-directories.

  • Command: SYS (sys.com)

Syntax: SYS [drive1:] [path] drive2

Use: This command is used to transfer system files from one disk to another.

  • Command: EDIT (edit.com)

Syntax: EDIT

Use: This command is used to edit the existing text files or make a new file if you like.

  • Command: MORE (more.com)

Syntax: DOS-command /MORE

Use: This command is used to display the output page by page instead of continuous scrolling or by full-screen text.

  • Command: MOVE (move.exe)

Syntax: MOVE [drive:] [path] [drive:] [path]

Use: This command is used to move the files from one location to another.

  • Command: XCOPY (xcopy.exe)

Syntax: XCOPY [drive:] [path] [/s] [/e] [drive:] [path]

Use: This command is used to copy the files, directories and sub-directories from one location to another.

Here,

s = copies directories and sub-directories except empty ones.

e = copies all directories and sub directories.

  • Command: DOSKEY (doskey.com)

Syntax: DOSKEY [new DOS command = DOS command]

  • Command: CHKDSK (chkdsk.exe)

Syntax: CHKDSK [drive:] [path] [/f] [/v]

Use: This command is used to check the drives for errors and display status report on any disk.

Here,

f = files error on the disk

v = report

  • Command: FORMAT (format.com)

Syntax: FORMAT [drive:]

Use: This command is used to format disks.

  • Command: DELTREE (deltree.exe)

Syntax: DELTREE [drive:] [path]

Use: This command is used to delete or remove a directory including all the files and sub-directories.

  • Command: DISKCOMP

Syntax: DISKCOMP [drive1:] [drive2:]

Use: This command is used to compare between two diskettes.

  • Command: /? (help)

Syntax: DOS Command /?

Use: This command or sign is used to get any type of help about DOS commands.

  • Command: SCANDISK (scandisk.exe)

Syntax: SCANDISK [drive:]

Use: This command is used to check the status of C drive disk, fix errors if any and give the details report of disk drive.

  • Command: LABEL (label.exe)

Syntax: LABEL [drive:]

Use: This command is used to display the disk drive volume label.

  • ATTRIB (attrib.exe)

Syntax: ATTRIB [+/-] [H/R/S]

Use: This command is used to change the attributes of files.

Here,

Attributes

Meaning

+

Set the Attributes

-

Clear the Attributes

H

Hidden files

R

Read-only files

S

System files

Differences between Internal commands and External commands:

Internal commands

External commands

They are built in the command.com file.

They are coordinated by individual command files either having extension.exeor.com.

They can be executed from any DOS prompt.

The disk drive reads the content of each file before execution.

These commands are not listed by DIR command.

These commands can be listed by DIR command for being individual files.

Example: DIR, CLS, MD, TYPE, etc.

Example: CHKDSK, /?, FORMAT, ATTRIB, etc.

(Shrestha & Khanal, 2013)

Bibliography

Karn, M. K., & Pudasaini, D. (2015). Computer Science I. Anamnagar, Kathmandu: Buddha Publication.

Shrestha, P. R., & Khanal, R. (2013). Computer Essentials I. Putalisadak, Kathmandu: Asmita's Publication.

Lesson

Operating System

Subject

Computer Science

Grade

Grade 11

Recent Notes

No recent notes.

Related Notes

No related notes.