Explain about wildcard character in dos, Computer Engineering

Assignment Help:

Q. Explain about wildcard character in DOS?

Sometimes you may like to list files having similar names. Let as suppose that these files are present in a root directory of drive C. now if you use the command - DIR C: CHAPTER.*, it will list all files from drive C that have the name UNIT. In the same way, to list all '.DOC' files from the default drive, you can use the command - DIR *.DOC. the character '*' used in these commands is known as the wildcard character. This character selects any name (where * is used) in the command. In the 1st DIR command (DIR C: UNIT.*) it will choose any extension name. in the 2nd  command (DIR *.DOC), '*' choose any file name having  .DOC extension name. the '*' wildcard character can also be used in another way. Assume the command - DIR WCHAP*. This command list all file names that start with WCHAP from the current drive. For example, it will list filenames, such as WUNIT1, UNIT 10.DOC, WUNIT­_A.RAP, etc.

            You can also use a different wildcard character - '?'.

C:\> DIR sale?rep

This command will list filenames such as SALE1REP, SALESREP, SALE_REP.rap, etc. that is, it will accept any character at the position of '?' in the DIR command.


Related Discussions:- Explain about wildcard character in dos

Colour - elements of composition, Colour The use of colour is consider...

Colour The use of colour is considered by many to be one of the most important areas in composition. Colours can be used in isolation or specific combinations to create partic

What are the external storage systems, External storage systems A numb...

External storage systems A number of different types of external memory devices are available now. Some of these are considered below (hard drives haven't been mentioned as th

Display methods, Describe a console application project to show the differe...

Describe a console application project to show the different formatting styles used in display methods(i.e.Console.writeLine()).

Show the Features of parallel virtual machine, Q. Show the Features of para...

Q. Show the Features of parallel virtual machine? Easy to install; Easy to configure; Multiple users each can use PVM concurrently; Multiple applications fro

General use of cluster computing, Q. General use of cluster computing? ...

Q. General use of cluster computing? A general use of cluster computing is to balance traffic load on high-traffic web sites. In web operation a web page request is transmitted

What is parallel balance point, Q. What is Parallel Balance Point? In ...

Q. What is Parallel Balance Point? In order to execute parallel algorithm on parallel computer K processors are necessary. It should be noted that given input is allocated to

What is directory, What is Directory?   The device directory or simply ...

What is Directory?   The device directory or simply called as directory records information-such as name, location, size, and type for all files on that certain partition. The

What are instruction hazards, What are instruction hazards? The pipelin...

What are instruction hazards? The pipeline might also be stalled because of a delay in the availability of an instruction. For instance, this may be a result of a miss in the c

Rhythm, Rhythm Rhythm in art refers to the way that your eye moves thr...

Rhythm Rhythm in art refers to the way that your eye moves through a picture and can be thought of in a similar way to rhythm in music. Your eye will move through some picture

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd