Fixed bugs in batch file execution.

svn path=/trunk/; revision=496
This commit is contained in:
Eric Kohl 1999-05-21 00:52:38 +00:00
parent d22c45fab2
commit 42dfa65049
7 changed files with 26 additions and 9 deletions

View file

@ -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;
}