AFIK, this behaviour is kept even if the shell is not involved.
Apparently not. From win32.c source (circa line 4225):
/* initial NULL argument to CreateProcess() does a PATH * search, but it always first looks in the directory * where the current process was started, which behavior * is undesirable for backward compatibility. So we * jump through our own hoops by picking out the path * we really want it to use. */
In reply to Re^8: system and wildcard expansion?
by BrowserUk
in thread system and wildcard expansion?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |