Wildcard Character

Why Trust Techopedia

What Does Wildcard Character Mean?

A wildcard character is a character that can be substituted for either a single character or a string of characters. For instance, in certain operating systems, the asterisk character “*” can be used in lieu of a set of characters, while the character “?” can be used in lieu of a single character.

Advertisements

Techopedia Explains Wildcard Character

Wildcard characters, which can be used in SQL and other computer languages, can shorten commands by including a wide range of items without having to mention every single item covered by the command. One scenario that calls for usage of a wildcard character is when you want to search for a set of similar filenames at a Windows command prompt. To display specific files (such as notepad.exe or taskman.exe) in a directory, you type: “dir notepad.exe” or “taskman.exe.” However, if you want to display all files with the “.exe” extension in the directory, then you simply need to type “dir *.exe.”

Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.