regsvr32: Ignore the /c flag.
This commit is contained in:
parent
15e4ad4866
commit
13dccd7541
@ -31,6 +31,7 @@
|
|||||||
* [/i] Call DllInstall passing it an optional [cmdline];
|
* [/i] Call DllInstall passing it an optional [cmdline];
|
||||||
* when used with /u calls dll uninstall.
|
* when used with /u calls dll uninstall.
|
||||||
* [/n] Do not call DllRegisterServer; this option must be used with [/i]
|
* [/n] Do not call DllRegisterServer; this option must be used with [/i]
|
||||||
|
* [/c] Console output (seems to be deprecated and ignored)
|
||||||
*
|
*
|
||||||
* Note the complication that this version may be passed unix format file names
|
* Note the complication that this version may be passed unix format file names
|
||||||
* which might be mistaken for flags. Conveniently the Windows version
|
* which might be mistaken for flags. Conveniently the Windows version
|
||||||
@ -242,6 +243,8 @@ int main(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
else if((!strcasecmp(argv[i], "/n"))||(!strcasecmp(argv[i], "-n")))
|
else if((!strcasecmp(argv[i], "/n"))||(!strcasecmp(argv[i], "-n")))
|
||||||
CallRegister = FALSE;
|
CallRegister = FALSE;
|
||||||
|
else if((!strcasecmp(argv[i], "/c"))||(!strcasecmp(argv[i], "-c")))
|
||||||
|
/* console output */;
|
||||||
else if (argv[i][0] == '/' && (!argv[i][2] || argv[i][2] == ':'))
|
else if (argv[i][0] == '/' && (!argv[i][2] || argv[i][2] == ':'))
|
||||||
printf("Unrecognized switch %s\n", argv[i]);
|
printf("Unrecognized switch %s\n", argv[i]);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user