Wildcards offer an alternative shortcut to entering file and path specifications in a Command Prompt session . Windows, like MS-DOS, recognizes two wildcard characters: ? and *. The question mark represents any single character in a file name. The asterisk matches any number of characters . Typing cd pro*, for example, might take you to your Program Files folder (depending, of course, on where you are when you type it.) Because you can include multiple wildcards in a string, you can even create formulations such as cd pro*\com*\mic* to get to Program Files\Common Files\Microsoft Shared.
Was this article helpful?