Programming, System Programming, Win32, C.
SetEnvProc}, {"exit", ExitProc}, {NULL, NULL}, }; /* Function Definitions */ int main(void) { char cwd[1024]; int i; for (;;) { if (GetCurrentDirectory(1024, cwd) == 0) ExitSys("GetCurrentDirectory", EXIT_FAILURE); printf("%s>", cwd); gets(g_cmd); Parse(); if (g_nparams == 0) continue; for (i = 0;