|All good i researched it out as follows;|
echo set WshShell = WScript.CreateObject("WScript.Shell") > %tmp%\tmp.vbs
echo WScript.Quit (WshShell.Popup( "PLEASE CHECK ALL GET ARE INTACT. IF MISSING REPORT IMMEDIATLY. THIS MESSAGE WILL SELF DISTRUCT IN 12s'." ,12 ,"CHECK GET Click OK!", 0)) >> %tmp%\tmp.vbs
cscript /nologo %tmp%\tmp.vbs
if %errorlevel%==1 (
echo You Clicked OK
) else (
echo The Message timed out.
ping 127.0.0.1 -n 1200 > nul
Then created a hide.bat.vbs with the following code;
Insert name off bat file here "name_me.bat",
This will hide the CMD and just pop up the message.
I put the Hide.bat.vbs file into "Startup" folder in All Programs so it will launch on i start up the PC
This worked exactly the way i wanted it to on my Win 7 laptop the next test will be on the WinNT machine.
I take no credit for this. I got what i was after from a bunch of different Forums.