LEAP OFFICE for typing in regional languages

LEAP Office is a complete word processor designed specially for Indian Languages with an additional ability to provide Indian language Interface to most popular windows based applications. LEAP Office is a result of more than a decade of research in Indian scripts and languages.

Features of LEAP Office

  • A person having no experience in typing in Indian Languages can type without any difficulty.
  • Allows you to create error free multilingual documents.
  • Can present web pages in Indian languages.
  • Publish in Indian languages from your desktop.
  • Exchange E- mail and fax messages in Indian languages.
  • Translate words and phrases from English to Indian languages.
  • Extend other windows applications to work in Indian languages.


Starting LEAP Office
1. From the Desktop screen, Double-click LEAP Office icon to start LEAP Office.





Or
Click Start >>All Programs>>LEAP Office>>LEAP Office

2. In the screen that comes next, press Continue to start working with LEAP Office.

3. A dialog box showing some more information on LEAP Office appears press Close button to come out of it.

4. Tips & Tricks of LEAP Office dialog box appears. Press Close button again.

5. LEAP Office main screen comes.

LEAP Office Desktop



How to Type in LEAP Office

There are two methods by which you can type Indian and English characters:
a. Using displayed keyboard in LEAP Office:
  • Click View >> Online Keyboard

Or
  • Click  icon from the standard bar to activate the Onscreen keyboard if not activated.
When you rest the mouse pointer on any of the buttons an enlarged picture of the button called Balloon Help
shows English and Indian characters that can be typed using this key.
  • Check View >>Balloon Help & Tips if Balloon help not activated.
  • To enter the lower characters, click at the desired key of the Online keyboard.
  • To enter the upper characters, press Shift key and click at the desired key.
  • Click Scroll button on the Online keyboard to switch between English and Indian languages.



Editing Text
You may like to edit your text by inserting any missed out text and deleting any unwanted text. You may also like to correct the spelling mistakes that are accidentally made by you.
For the editing of text, LEAP Office provides following tools,
  • Finally save the file.

Inserting Pictures in a Document 
  • Click Insert >> File. 
  • An Insert dialog box appears asking you to enter the name of the bitmap file. 
  • Enter the file name that you created in Paint. 
Select the file type as BMP (Windows DIB(BMP) from Insert Files of Type option. For example, Bird.bmp 
  • Click on Insert button. 
  • Move the paste cursor to where you wish to place the bitmap and click to place the bitmap. 
  • To resize the bitmap proportionately, select it and drag the frame edge outward to enlarge the bitmap and inward to shrink it. 
  • Use various icons from the Tool bar that comes with it like for center the bitmap horizontally on the page, click icon. 
Quitting LEAP Office 
  • Click File >> Exit You come out of LEAP Office to the Desktop screen.

DATABASE MANAGEMENT SYSTEM


Database Management System (DBMS) is a set of programs that enables you to store, modify, and extract information from a database, it also provides users with tools to add, delete, access, modify, and analyze data stored in one location.


What is Database?

A database is a structured collection of data. The data are typically organized to model relevant aspects of reality (for example, the availability of rooms in hotels), in a way that supports processes requiring this information (for example, finding a hotel with vacancies).

How can we design a database?

Database design is the process of determining the content and arrangement of data and is a two step process. In the first step, user requirements are gathered together and a database is designed which meets these requirements as closely as possible. The second step consists of transforming this information level design into a design for the specific DBMS which will be used to implement the system.

What is ER-Modeling?

Entity Relationship Modeling (ER-Modeling) is the most common way to express the analytical result of an early stage in the construction of a new database.

 What is ER Diagram?

Entity relationship diagrams are a way to represent the structure and layout of a database. It is often used as a way to visualize a relational database.

Symbols used in E-R Diagram

  • Entity – rectangle
  • Attribute – oval
  • Relationship – diamond
  • Link - line

What is Entity?

Entities are the principal data object about which information is to be collected.. Entities are usually recognizable concepts, either concrete or abstract, such as person, places, things or events which are relevance to database.

What is Attributes?

Attributes described the entity of which they are associated. For example: “Dilip Saha” is one instance of the attribute NAME.

What is Primary Key?

A primary key is a table column that can be used to uniquely identify every row of the table. Any column that has this property will do -- these columns are called candidate keys. A table can have many candidate keys but only one primary key. The primary key cannot be null.

What is Foreign Key?

A foreign key is a column, or combination of columns, that contain values that are found in the primary key of some table (including, possibly, itself). A foreign key may be null, and almost always is not unique.

What is Composite Key?

A composite key is a combination of two or more columns in a table that can be used to uniquely identify each row in the table. Uniqueness is only guaranteed when the columns are combined; when taken individually the columns do not guarantee uniqueness.


Rectangle -- Entity

Ellipses -- Attribute 

Double ellipses -- multi-valued attribute

Dashed ellipses-- derived attribute, e.g. age is derivable from birth date and current date

What is Relationships?

Relationship represents an association between two or more entities. For example: “students majors in departments”, here we have two entities viz, “student” and “department”. The relationship is “majors in”.

Normalization:

Definition: Normalization is a technique that is widely used as a guide in designing relational databases. It is essentially a two-step process that puts data into tabular form by removing repeating groups and then removes duplicated data from the relational tables. In other word it is typically a refinement process after the initial exercise of identifying the data objects that should be in the database. Some types of normal forms are defined bellow:

          First Normal Form: A relation or table is said to be first normal form (1NF) if it does not contain repeating groups.

          Second Normal Form: A relation is said to be in second normal form (2NF) if it is in first form and no non-key attributes is functionally dependent on only a portion of the primary key.

          Third Normal Form: A relation is said to be in third normal form (3NF) if it is in second form and if the only determinants it has are candidate keys.

          Fourth Normal Form: A relation is said to be in fourth normal form (4NF) if it is in third form and the relation has no multi valued dependencies.

ADOBE PHOTOSHOP 7.0

 

INTRODUCTION

Photoshop, now up to version 7.0, is the leading professional image-editing program, released by Adobe. Photoshop is useful for both creating and editing images to be used in print or online. Easy to use, but full of high-quality features, Photoshop is the best choice for any image manipulation job.

OPENING PHOTOSHOP IN A COMPUTER

Click at START à All Programs à Adobe Photoshop 7.0

Or,

Press Windows Key +R à Type “photoshop”àPress Enter

OR, 

THE MAIN MENU 




File – create new images, open pre-existing images, print, exit the program, etc.

Edit – undo, copy, paste, cut, preferences, basic image manipulation, etc.

Image – change the image or canvas size, rotate, adjust brightness & contrast, etc.

Layer – Create / delete layers, merge layers together, layer effects, etc.

Select – Adjust the selected area of your image

Filter – Apply filters and effects to your images

View – Zoom in and out of your images

Window – Open or close different windows within Photoshop

CREATING A NEW CANVAS / IMAGE

Go to the “File” menu and select “New” (or press Ctrl + N)

A window will appear asking how large you would like your canvas (or working area) to be. Pick a size large enough to work with. Make your decision, and click “OK.”

OPENING A PRE-EXISTING IMAGE

Go to the “File” menu and select “Open” (or press Ctrl + O).

Find the image on your computer that you wish to edit, and click “Open.”

EDITING AN IMAGE

Once you have an image created or opened, you can edit or draw on top of it with Photoshop’s “Tools” window, which is the long, thin window that is automatically open on the left side. Here is a breakdown of all the tools contained on this bar:

1. Marquee Tool – used for selecting areas of an image

2. Move Tool – used for moving an image to a different area of the canvas

3. Lasso Tool – used for selecting areas of an image that may not necessarily be comprised of straight lines

4. Magic Wand Tool – used for auto selecting large areas of an image that are similar in color

5. Crop Tool – used for reducing the image to a certain area (“cropping”)

6. Slice Tool – used to “slice” an image into different sections; generally used for the creation of images for a web

page design

7. Healing Brush Tool – used to fix imperfections in an image by copying other pixels from the image. The Healing Brush tool will also match the texture, lighting, and shading to perfectly match the are you are fixing

8. Brush Tool – used with the mouse to simply draw lines on your image

9. Clone Stamp Tool – used to “clone” or copy one area of an image to another; first hold “Alt” and click an area of the image to copy, then click on a different area to copy it there

10. History Brush Tool – used to copy and draw a pre-existing image in different artistic styles

11. Eraser Tool – used to erase certain areas of an image

12. Gradient Tool – used to create gradient fills for an image, of any color

13. Blur Tool – used to blur or blend areas of an image

14. Dodge Tool – used to uniquely adjust the brightness and contrast of an image

15. Path Selection Tool – used merge overlapping components into a single component

16. Type Tool – used to place text on an image

17. Pen Tool – used to draw lines and curves with better precision

18. Rectangle Tool – used to draw rectangles and other polygons

19. Notes Tool – used to leave notes for yourself on your image

20. Eyedropper Tool – used to select and match specific colors

21. Hand Tool – used to quickly view different areas of an image

22. Zoom Tool – used to zoom in and out of an image

23. Set Foreground / Background Color – used to set the foreground (front) and background (back) colors of an image; can also be used to change the colors of text, etc. Click on the boxes to change the colors (a new window will appear).

24. Edit Modes – used to switch back and forth between modes

25. Switch Screen Modes – used to switch between full screen and standard screen modes

26. Jump to Image Ready – used to easily launch the Image Ready program

UNDERSTANDING LAYERS

One of Photoshop’s most powerful features is the ability to create and use multiple layers within the same image. A layer is literally what it sounds like: one layer on top of another, all of which can be edited independently of each other and laid on top of or beneath one another, and then later combined to form a single, flat image. When you first create an image, you will be working with the “Background” layer. You cannot always use all effects on a background layer, so you may wish to start working directly with normal layers. To create a new layer, click the “Layer” menu, and pick “Layer” from the “New” menu (or click Shift + Ctrl + N).

THE LAYERS WINDOW



1. Paintbrush Symbol – This symbol (and the blue shading of the layer) notes the currently active layer

2. Show / Hide Layer – When the eye icon is visible, the layer is displayed in your project. If the eye is clicked, then the layer is hidden but not deleted.

3. Link Icon – Indicates if the layer is currently linked to another layer. When linked, layers act “locked” together

(and will move with each other, accordingly), but still remain separate layers. Layers can be linked together by selecting one layer, and then clicking the boxes in the other layers to display the “Link” icon (number three on the above list and image).

4. Background – The Background is technically not a layer, however, it can be edited. It is the bottom-most portion of the image.

5. Layer – Each layer has its own name (default is by numbering). Click a layer’s name to edit on that layer.

6. Text Layer – Adding text creates a new text-specific layer.

7. Effects – When you add effects to a layer, a sub-menu appears with that layer listing the effect applied to it. Double-click an effect’s name to bring up that effect’s menu to make adjustments.

8. Add a Layer Style – By picking an option from this menu (such as Drop Shadow, Inner Glow, or Bevel and Emboss), you can apply special effects to a layer.

9. Add a Mask – Masks are used to hide pixels on a layer in order to view the rest of the image. Layer masks are either a black or white background color. The default color is white, which lets pixels be seen, while black hides pixels.

10. Create a New Set – By making a new set, you can create a separate folder for layer storage.

11. Create New Fill or Adjustment Layer – The options in this menu allow you to change the color properties and dimensions of a layer. For example, you can make a layer lighter or darker, add a gradient (a blending of two colors), or

invert the entire layer.

12. Create a New Layer – Clicking on this icon creates a new layer. You can name your layer in the text box that appears and position it in the palette.

13. Delete a Layer – Deletes the currently selected layer. You can also drag a layer to the trash.

14. Opacity – Use this to adjust a layer’s opacity (its transparency).

SOME NOTES ABOUT LAYERS

• Layers can be repositioned in different orders in the Layers palette by clicking on a layer and dragging it to a new position in the palette. To make a layer appear on the top-most part of the image, drag it higher up on the list. Do

the opposite to position a layer at the bottom-most area of an image.

• Only a selected layer can be edited. To select a layer, click on the layer name in the palette.

• You can only work with layers in a *.psd file (Photoshop’s native format). If you want to modify a *.gif or *.jpg file (or any other type of image file) with layers, copy and paste that image into a new, blank Photoshop canvas.

CROPPING AN IMAGE

If an image is too large and you would like to cut it to just focus on one section of the image, you can “crop” it to that size and area. Select the “Crop” tool, and click and drag around the area you want. You can resize the area (or rotate it) with the mouse by clicking any of the corners. When you’re done, just click over to any other tool and a window will appear asking you if you’d like to crop the image. Click yes, and the image will be reduced to the area you’ve specified.

RESIZING AN IMAGE

If you don’t want to crop your image (meaning you want the ENTIRE image, just at a smaller size), you can resize your image to any dimensions you wish. Select “Image Size” from the “Image” menu. The default in Photoshop is to keep image resizing at “Constrain Proportions.” This means that if the height is changed, the width will be changed at the same ratio. This keeps your image looking approximately the same, only at different sizes. If you wish to change this, just un-click the “Constrain Proportions” check box at the bottom of the “Image Size” window. You can change the image size either by pixels or percentages.

MOVING AN IMAGE

You can move an image to any area of the canvas you wish. Select the “Move” tool, and click and drag the image to any area of the canvas you wish.

SELECTING / DELETING A PART OF AN IMAGE

Choose the “Marquee” tool, and click and drag around a part of an image. A rotating, dotted line will surround that area. To delete this section that you’ve selected, hit the “Delete” key on your keyboard.

ADDING TEXT

Click the “Text” tool on the tool bar and click in your image where you’d like to add text. The text will appear on top of the image, and it will be on its own new layer. You can change the font, style, size, anti-aliasing, and color of your text on the menu directly below the main Photoshop menu.

ALTERING YOUR IMAGES

Photoshop’s most powerful aspect is its ability to edit and manipulate images easily and with professional quality. The second section of the tool menu contains tools that specifically help you to edit your images. When you click any of these tools, Photoshop’s sub-main menu will change to reflect new options available to you. Most will look something like this, or very similar:



1. Name – The name of the tool you’re using.

2. Brush Picker – Here you can select the diameter, hardness, and spacing of the brush / tool you are using.

3. Mode – Effect mode

4. Opacity – The transparency of the tool’s effects.

5. Flow – The flow rate of the stroke.

6. Airbrush – Click to enable airbrush capabilities with the tool.

BRUSH / PENCIL TOOL

The Brush tool can be right-clicked to also show the Pencil tool as an option. Both are very simple tools that allow you to directly draw on top of an image. Select a color with the Foreground Color option on the tool bar, and select a brush size from the tool’s sub-main menu, above. Click and drag across an image to draw on top of it.

CLONE TOOL

The Clone tool will copy pixels from one part of an image and copy them to a new part of the image. The Clone tool is most useful in situations such as removing blemishes from a face in a photograph, clearing a few clouds out of a bright blue sky, etc. Choose the Clone tool. Hold the “Alt” button on your keyboard, and click in an area of the image that you’d like to copy. Now click elsewhere in the image, and move the cursor around. The image will “clone” itself to that second area.

ERASER TOOL

The eraser simply deletes sections of an image. Click the Eraser tool, and click and drag around your image. The eraser will “erase” the image to what’s set as the Background color.

GRADIENT / PAINT BUCKET TOOL

The Gradient tool can be used on its own, or right-clicked to also select the Paint Bucket tool. A gradient is a horizontal fading of colors, most commonly used in the creation of banners for web pages. Select the Gradient tool, and go to the sub-main menu for a drop-down of available gradients. The default is the most common. Once you’ve selected which gradient you wish (and a color in the Foreground color tool), just click and drag across your image. The direction you drag (left to right, right to left, etc.) determines the flow of the gradient. The Paint Bucket lets you fill in a large section with the same color. Select the Paint Bucket by right-clicking the Gradient tool, and click in an area of your image. It will fill with the color selected as the Foreground color.

BLUR TOOL

The Blur tool is useful for covering up small distortions in an image by blending the surrounding pixels together. To blur something, select the Blur tool, and click and drag around the area you wish to blur.

ROTATING AN IMAGE

You can rotate and flip your image in any direction you wish. In the “Rotate Canvas” list under the “Image” menu, there’s a wide variety of options to choose from. If you select “Arbitrary” for a rotation, a new window will appear asking you for the direction (clockwise or counter-clockwise) and the degree of the rotation.

DRAWING SHAPES

While Photoshop’s main power is in manipulation of images, it’s also possible to draw your own (as seen with the pencil and pen tools). The Rectangle tool (and all of its sub-tools) allows you to draw shapes on a canvas. To draw a simple rectangle, pick a Foreground color (which will be the fill color for the shape), select the Rectangle tool, and click and drag on the canvas until it’s the size you wish. You can draw a wide variety of shapes with the Rectangle tool and its sub-tools, including the Custom Shape Tool, which gives you even more options. Select the Custom Shapes Tool (by right-clicking the Rectangle tool), and look through your options in the drop-down box from the sub-main menu. You can draw a wide variety of shapes with the Rectangle tool and its sub-tools, including the Custom Shape Tool, which gives you even more options. Select the Custom Shapes Tool (by right-clicking the Rectangle tool), and look through your options in the drop-down box from the sub-main menu.

EYEDROPPER TOOL

When working with images, you may find that you want to reselect a color you’ve used, but aren’t sure exactly what color it is. You can use the Eyedropper tool to reselect that exact color for you. Select the Eyedropper tool, and click anywhere on an image that has the color you want to select. The Foreground color will change itself to the color you’ve selected.

ZOOM TOOL

If you find that you need to zoom in or out of your image for any reason (for example, to be more precise in deleting areas), you can use the Zoom tool. Click the Zoom tool (it looks like a magnifying glass). If you click once on your image, it will zoom to double its size (100% to 200%, and so on). If you right-click, you can select the “Zoom Out,” which will reduce its size. Note that this doesn’t actually change the size of the image. It simply changes your view of the image on the canvas.

BRIGHTNESS & CONTRAST

Sometimes when working with images, you may need to adjust the brightness and/or contrast (especially with scanned images). Photoshop makes this very easy. Select “Brightness/Contrast” from the “Adjustments” >> “Image” menu. A new window will appear allowing you to slide the brightness and contrast any way you wish. The Brightness/Contrast command lets you make adjustments to the overall tonal range of an image. Adjustments made in here will affect every pixel in your image, unless a selection is made beforehand.

LAYER STYLES

You can do much more with layers other than piling images on top of each other. Once you have added images or text to a layer, you can add distinctive styles to them, making them stand out even more. Once you’ve added an item to a layer (such as text), click the “Add a layer style” button in the “Layers” window. A list of styles will appear which you can add to your layer.

FILTERS

Photoshop has a wide variety of filters you can apply to your images. They include obvious ones such as blurring and sharpening, but also very advanced ones such as ripples, distortions, and rendering clouds. You can browse through the available filters by selecting the Filters menu.

SAVING IMAGES – PSD FORMAT

To save your image as a PSD, just select “Save” from the “File” menu, and select a place on your hard drive or disk to save it.



SAVING IMAGES – FOR THE WEB

To save your image as web format just select “Save for the Web” from the “File” menu and select a place on your hard drive or disk to save it.



Saving Images – JPEG Format

To save your image as JPEG format just select “Save for the Web” from the “File” menu and select a place on your hard drive or disk to save it.




If you are eager to know about computer tips and techniques then click on the link given bellow:



Microsoft Disks Operating System (MS-DOS)

 

INTRODUCTION

MS-DOS is a single user operating system. It is a CUI operating system. It is also called Disk Operating System because it is loaded into the memory from a disk when the computer is switched on. The first version of MS-DOS was released in 1981 i.e. Ver. 1

 

CUI and GUI

A CUI (Character User Interface) operating requires one to type commands in order to get the work done. There is no use of graphics, images or pictures in CUI.

On the other hand A GUI operating system requires one to select or click the desired commands or actions being displayed on the screen.

 

Some important terms:

 

System Prompt: It is a symbol which is either A :\> or C :\>.  It is the starting point of DOS interaction with users. Every command must be given in system prompt at cursor position.

 

Syntax: Syntax is the details writing rules of command or instruction to the system. Each and every command follows a definite syntax. If there is any error in the syntax of a command, it will no way work to give an output.

(Syntax = System Prompt + Command)

 

Command: Commands are the order or instruction to the computer to do a specific task. With the commands, users can interact directly with the computer.

 

File: A file is collection of related information. A file has two parts i.e. 1st name and extention name separated by a dot. E.g. word.docx, excel.txt

 

Directory: A directory is the container of file and subdirectories

 

Classification of MS-DOS Commands:

          MS-DOS commands are classified into the following categories:

1.    Environmental Command

2.    File Management Command

3.    Directory Management Command

4.    Disk Management Command

 

Environmental Command:

 

1.    CLS: It clears the screen                                    

    Syntax: C:\>cls (enter)

2.    Date: It is used to display or set the system date                

    Syntax: C:\>date (enter)

3.    Time: It displays the current time of system.            

    Syntax: C;\> time (enter)

4.    Vol: It displays the volume label and serial number         

    Syntax: C:\> vol (enter)

5.    Ver: It displays the version of the system                 

    Syntax: C:\> ver (enter)

6.    Colon: It is used to change the active drive              

    Syntax: C:\> <drive letter>: (enter)

7.    Label: It displays the volume label of the system              

    Syntax: C:\> label (enter)

8.    Prompt: We use this command to change the MS-DOS command prompt.

Syntax: prompt <text>

Special codes to change prompt:

$Q ------------------       for = (equal sign)

$$ ------------------        for $ (dollar sign)

$T -----------------         for current time

$D -----------------        for current date

$P -----------------         for current drive and path

$G ----------------          for > (greater than sign)

$L -----------------         for < (smaller than sign)

$B -----------------         for | (pipe)

 

File Management Command:

 

1.    Copy con: It is used to create a file                   

    Syntax: C:\> copy Φ con Φ <file name> (enter)

2.    Edit: It is used to create/modify a file              

    Syntax: C:\> edit Φ <file name> (enter)

3.    Type: It is used to see the contents of a file     

    Syntax: type Φ <file name> (enter)

4.    Ren: It is used to rename a file                          

    Syntax: ren Φ (old file name> Φ <new file name> (enter)

5.    Copy: It is used to copy a file from one location to another     

   Syntax: copy Φ <source drive>:\ <file name> Φ <destination drive>: (enter)

6.    Attrib +H: It is used hide a file                         

    Syntax: C:\> attrib Φ +h Φ <file name> (enter)

7.    Attrib -H: It is used unhide a file                      

    Syntax: C:\> attrib Φ -h Φ <file name> (enter)

8.    Attrib +R: It is used to make a file read only  

    Syntax: C:\> attrib Φ +r Φ <file name> (enter)

9.    Attrib -R: It is used to disable the read only mode     

    Syntax: C:\> attrib Φ -r Φ <file name> (enter)

10.                       Del: It is used to delete a file                             

    Syntax: C:\> del Φ <file name> (enter)

 

DireCTORY Management Command:

         

1.    MD: It is used to make a directory                                      

    Syntax: C:\> md Φ <dir name> (enter)

2.    CD: It is used to enter into a directory                                

    Syntax: C:\> cd Φ <dir name> (enter)

3.    CD.. : It is used to come out from a directory                     

    Syntax: C:\>cd.. (enter)

4.    CD\ : It is used to come to the root directory                      

    Syntax: C:\> cd\ (enter)

5.    RD: It is used to remove a directory                                   

    Syntax: C:\> rd Φ <dir name> (enter)

6.    Dir: It is used to display the file & directories                             Syntax: C:\> dir (enter)

7.    Dir/p: It is used to display file & directories in page wise          Syntax: C:\> dir/p (enter)

8.    Dir/w: It is used to display files & directories widely                 Syntax: C:\> dir/w (enter)

9.    Dir/ad: It is used to display only the directories                          Syntax: C:\> dir/ad (enter)

10.  Dir/a-d: It is used to display only the files                           

    Syntax: C:\> dir/a-d (enter)

11. Dir/as: It is used to display only the system files                         Syntax: C:\> dir/as (enter)

12.  Dir/ah: It is used to display only the hidden files                        Syntax: C:\> dir/ah (enter)

13. Dir/ar: It is used to display only the read only files           

    Syntax: C:\> dir/ar (enter)

14. Dir/oe: It is used to display files & directories with extension            Syntax: C:\> dir/oe (enter)

15. Dir/os: It is used to display files & directories with their size             Syntax: C:\> dir/os (enter)

16. Dir/od: It is used to display files & directories with their creation in ascending order

   Syntax: C :\> dir/od (enter)

17. Dir/o-d: It is used to display files & directories with their creation in descending order                  

    Syntax: C :\> dir/o-d (enter)

DiSK Management Command:

 

1.    FORMAT: It is used to format a drive                      

    Syntax: C :\> format Φ <target drive :> (enter)

2.    DISKCOPY: It is used to copy the contents of a drive to another drive               

    Syntax: C :\> diskcopy Φ <drive1 :> Φ <drive2 :>  (enter)

3. CHKDSK: It is used to verify a disk and display a status report        

    Syntax: C :\> chkdsk Φ <drive :> (enter)


Wild Cards Characters:

In MS-DOS there are two wild card characters, they are: ASTERISK (*) and QUESTION MARK (?)

 

1.    ASTERISK (*): It represents any number of character

2.    QUESTION MARK (?): It represents a single character

 

Examples:

i)                  *.* represent all files

ii)               *.txt : display all files having .txt as extension

iii)            S*.* : display files starting with letter S

iv)            ?????.com: display all files having maximum of 5 characters with extension .com

BATCH FILE:

A batch file is a combination of two or more DOS commands grouped together in a systematic manner to carry out a specific job. A batch file helps us to reduce the time and also reduce the number of keystrokes required every time to execute the same set of commands.

 

Naming a Batch file:

A batch file always must have an extension of .BAT. The 1st name of the file should never be same as any DOS command such as DATE.BAT.

 

Creating a Batch file:

          To create a batch file we can use either COPY CON or EDIT command.

          Syntax: C:\> copy Φ con <file name>.bat

                             Date

                             Time

                             Cls

                             (Ctrl+z) (enter)

To executing a Batch file: Syntax: C :\> <file name> (enter)

 

Some of the important commands related to Batch file:

 

ECHO: It is used when we want to display the commands in the batch file

          e.g.    C:\> copy Φ con fan.bat

                   ECHO OFF

                   Cls

                   Md Φ man

                   Cd Φ man

                   Copy Φ con cat

                   ^z

                   1 file (s) copied

 

To know MS-DOS practically, click here