"msg" command runs from CmdPrompt but not from batch script
Posted: 23 Feb 2021 23:02
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 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?