Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,896,990,400 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

DOS wild cards

    0.01 sec.
DOS wild cards
Wild cards are symbols that let you reference groups of related files. As in card games, wild cards take on any value. DOS wild cards are the "*" and "?."

The Asterisk (*)
The asterisk takes the value of any number of characters; for example, if you typed in:
                  dir xyz*

XYZ, XYZABC and XYZ3 would be selected.

To delete all files with a TXT extension, type:
                  del *.txt


To delete all the files in the current directory, type:
                  del *.*


The Question Mark (?)
The question mark matches any single character. For example, ?ABC would find 1ABC, 2ABC and XABC. Note that *ABC is not valid for this.

To copy CHP files that begin with CO, type:
              copy CO*.CHP a:


To list files that begin with CO and have an extension that begins with D, type:
              dir CO*.D*


Tip!
The dot is a shortcut for *.*. The following commands both copy all files to the B drive:
              copy *.* b:

              copy . b:


Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?   Encyclopedia browser?   Full browser?
No references found
 
 
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.