While searching here, I came across this code on another question:
(echo MsgBox "Line 1" ^& vbCrLf ^& "Line 2",262192, "Title")> File.vbs
start File.vbs
It worked for me. My problem is, it is expecting user to click "OK" button to close. I want it to auto-close after 5 or 10 (or any predetermined number of) seconds.
I searched for "vbs" "close window" and few variations but ended up with nothing. Is there a way I can accomplish this purpose of mine ?