When I enter the command
msg Peter /TIME:0 hello
on command line CmdPrompt then everything is ok.
A popup info box appears with the message "hello".
When I execute the same command from inside a DOS batch script then I got an error:
'msg' is not recognized as an internal or external command,
operable program or batch file.
Why?
"msg" command runs from CmdPrompt but not from batch script
Moderator: DosItHelp
Re: "msg" command runs from CmdPrompt but not from batch script
I cannot reproduce your problem.
Re: "msg" command runs from CmdPrompt but not from batch script
Perhaps your batch script is corrupting your PATH variable?
Re: "msg" command runs from CmdPrompt but not from batch script
.. or your PATHEXT variable