Social Icons

Pages

Wednesday, May 2, 2012

 Wild Card Character:



     Wild Card             

                                                                                                             
Ø                             Wild card is the special character or a symbol which is used for substituting one or more than one character of a filename and its extension. As files accumulate on disk, we may forget the name of filename. Sometimes, we want to copy, delete or otherwise work with a group of related files. To help us, MS-DOS recognizes wild cards special characters that can represent any other valid characters in a filename.
*.          Indicates any filename.
.*          Indicates any extension.
*.*        Indicates any filename with any extension
?          Indicates any one character.
:           Indicates drive to be specified.
/           Indicates an option.
^          Indicates control sign.
│          Indicates pipes (vertical bar)
>, <      Indicates re-direction.

Ø Batch File






                       A batch file is a file in which series of DOS commands are saved and they are executed one after another. AUTOEXEC.BAT is a file which is executed during the startup of a computer. This file is located in the root directory of our start up disk. AUTOEXEC.BAT file contains some routines for the start up help to operate computer smoothly. WE can make batch file of our own. Here is a simple example:
C :\> COPY CON MORVIA.BAT
DATE
TIME
DIR/W
F6
When this file MORVIA.BAT, is run then the commands written in this file are executed one after another.

No comments:

Post a Comment