Force Windows use .EXE on PATH rather than CMD.EXE internal command
Solution 1:
How can I force the Windows shell to use the mkdir.exe found in PATH rather than CMD.EXE?
Surround the executable name in double-quotes. For example:
"MKDIR"
This forces Windows to look for your executable instead of running the internal command. If you have parameters that also require double-quotes, use this syntax:
"MKDIR" -firstParam "C:\foobar\long file name.ext"