CMD utility has a number of internal commands, such as
mklink. How can they be used from the
msys shell ?
CMD's documentation, the
/c switch can be used to execute a command and
exit; but this doesn't seem to work.
- If I do
cmd /c mklinkthe
mklinkcommand is not executed and the
CMDshell is not exited.
Before pressing Enter:
Process Monitor screenshot:
- Trying to run the command as a background process:
cmd /c mklink &apparently works - the
mklinkcommand is executed, but the
CMDshell is not terminated. Every time
CMDwill become the active shell.