4
I am making batch scripts for various purposes, and want to make it so that after a command is completed, a message dialog is displayed that will declare the results.
For instance, if I make a script delete a specific object, I would like it to display a user-defined dialog. I would prefer to use this format for the window title and text values:
x=msgbox("%MESSAGE%" ,0, "%TITLE%")
How can I add this (above) to my script to be displayed after the task (below) is complete?
rmdir "%TARGETPATH%
I'll give you a hint to start
– Pimp Juice IT – 2017-08-31T23:05:24.573<command> &&
: https://ss64.com/nt/syntax-redirection.htmlSo if I'm interperating this correctly, I need to set the task as
commandA
, and the result message ascommandB
? If that is correct, I have no idea how to dictate this in the script. I think I'll just come back to this one when I can properly program... – Mr. Mendelli – 2017-08-31T23:28:06.403Thank you, I was planning on figuring this out using your reference but honestly wouldn't have got even close to your answer for some time. – Mr. Mendelli – 2017-09-04T07:47:05.110