Skip to content

Latest commit

 

History

History
51 lines (48 loc) · 1.38 KB

File metadata and controls

51 lines (48 loc) · 1.38 KB
title Wildcard Expansion | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
_setargv
dev_langs
C++
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

Wildcard Expansion

Microsoft Specific

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

See Also

main: Program Startup