Fail to run shell command

Use /c instead of /k

/C      Carries out the command specified by string and then terminates
/K      Carries out the command specified by string but remains
3 Likes