mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:11:42 +00:00
Fixed bugs in batch file execution.
svn path=/trunk/; revision=496
This commit is contained in:
parent
d22c45fab2
commit
42dfa65049
7 changed files with 26 additions and 9 deletions
|
@ -944,6 +944,16 @@ static VOID Initialize (int argc, char *argv[])
|
|||
if (argv)
|
||||
SetEnvironmentVariable (_T("COMSPEC"), argv[0]);
|
||||
#endif
|
||||
ConOutPrintf("argc: %d\n", argc);
|
||||
if (!argv)
|
||||
{
|
||||
ConOutPrintf("argc is NULL\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* add ctrl handler */
|
||||
#if 0
|
||||
|
@ -998,5 +1008,4 @@ int main (int argc, char *argv[])
|
|||
FreeConsole ();
|
||||
|
||||
return nExitCode;
|
||||
// return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue