// Arguments Rewrite Passthru // v0.3 1991/10/14 https://github.com/GapVR #include #include #define CMDMAXLEN 8191 // CreateProcess 32767, cmd.exe 8191, ShellExecute/Ex 2048 #define BUFSIZE 256 int main(int argc, char *argv[]) { if (argc < 1) return 1; char strcmd[CMDMAXLEN]; // executable strcpy(strcmd, argv[0]); strcat(strcmd, ".ori.exe"); int i; for(i=1;i