| title |
Wildcard Expansion | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
asterisk wildcard |
_setargv function |
command line, processing arguments |
command line, wildcards |
command-line wildcards |
question mark, wildcard |
|
| ms.assetid |
1a543398-607b-4404-93d1-45d290bde638 |
| caps.latest.revision |
9 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
You can use wildcards — the question mark (?) and asterisk (*) — to specify filename and path arguments on the command-line.
Command-line arguments are handled by a routine called _setargv (or _wsetargv in the wide-character environment), which by default does not expand wildcards into separate strings in the argv string array. For more information on enabling wildcard expansion, refer to Expanding Wildcard Arguments.
END Microsoft Specific
main: Program Startup