Changing Drive And About Wild Card In Microsoft DOS

Second Part: Extension (secondary name) of file is shown in the part. If <DIR> is written at this place, then you can understand that this is a Directory (Sub-Directory) and not file.
Third Part: In this Part, it has been shown that how much space in the disc has been occupied by a particular file or what is the dimension of this file or what is the dimension of this file. This is shown as byte, which is a unit for data measurement.
Forth Part: In this part, the display tells you when the particular file was last amended or when it was prepared.
Fifth Part: In this part, the time of marking of or amending the file shown.
After the, total number of files and directory are mentioned below and the space occupied and left unoccupied (available) is also shown.

To See Directory in other drive

If you want to see the directory in other drive you are working not in then command will be as given below:

DIR Drive :\ <Enter>

ms dos dir drive

How do you change drive ?

When you open MS DOS, the dos will start with c drive, if you want change the drive from c to other then Use colon ( : Colon ) use colon after drive name.
See how you can use colon below in image

ms dos use colon

Wild card

If you want to give any command after selecting a particular group of file or directory, which should be effective on all the selection files or directory, then wild card is used. In Dos, you have facility of using two types of wild cards, which are expressed through (*) And (?)

(*) wild card

When you use (*) wild card along with command, then it is positioned at a place along with the name of file or folder where any character in any number can be placed. For example if you want to select all the files beginning with the EF and whatever may be any character after EF, but all have the extension name .RFT then following command will be
DIR EF*.RTF Enter ms dos star rtf




share img

Facebook Twitter Google+ Pinterest LinkedIn StumbleUpon Digg Y! Bookmarks Email Blogger