Programming, System Programming, Win32, C.
arguments...\n\n"); return; } system("cls"); } void ChDirProc(void) { char cwd[1024]; if (g_nparams == 1) { if (GetCurrentDirectory(1024, cwd) == 0) ExitSys("GetCurrentDirectory", EXIT_FAILURE); printf("%s\n\n", cwd); return; } if (g_nparams > 2) { printf("too many arguments...\n\n"); return; } if