Lines Matching defs:exe
609 shell_cmd[] = "cmd.exe";
1705 (_stricmp(path + len - 4, ".exe") == 0 ||
4211 /* The NT cmd.exe shell has the following peculiarity that needs to be
4220 * to the string, if the first argument is either "cmd.exe" or "cmd",
4221 * and there were at least two or more arguments passed to cmd.exe
4238 char *exe = strrchr(cname, '/');
4240 if (exe2 > exe)
4241 exe = exe2;
4242 if (exe)
4243 ++exe;
4245 exe = cname;
4246 if (stricmp(exe, "cmd.exe") == 0 || stricmp(exe, "cmd") == 0) {
4250 else if (stricmp(exe, "command.com") == 0
4251 || stricmp(exe, "command") == 0)
4350 ".exe", /* this must be first */
4379 * to append "/", ".exe" and trailing "\0" */
4391 * a trailing .exe first */
4396 /* first extension is .exe */