so for april fools im gonna prank my friend by making a startup warning saying "Windows has detected pirated software on your computer. Your ip address has been forwarded to the authorities. you may face penalties of up to 2,000$ and 2 years in prison." and when he clicks yes or no it will launch the sac PD websight this is what i have
lol=msgbox(" Windows has detected pirated software on your computer. Your ip address has been forwarded to the authorities. you may face penalties of up to 2,000$ and 2 years in prison. " ,20, "Warning")
set WshShell = WScript.CreateObject("WScript.Shell")
retval = WshShell.Popup ("press yes to continue or no to shutdown",,"Hello", 4+32)
If retval=6 Then
WshShell.Exec("dos.bat")
Else
WshShell.Run("%windir%\system32\shutdown -l")
End If
my dos.bat file has the start www.sacpd.org line in it
if i click the dos file it will launch the website fine but on the orignal script wont run the dos.bat what am i doing wrong?