Joke Collection Website - Talk about mood - Joke program

Joke program

Continue to the next step when an error occurs.

dim WSHshellA

Set wshshell a = wscript.createobject ("wscript.shell").

Wshshell a.run "cmd.exe/cshutdown-r-t60-c" "Please enter' I am a pig' in the pop-up dialog box, and click OK, or I will turn it off for you. Now the countdown is 60 seconds. Don't say "",0, good for you.

dimmed

Do while (a sentence "I am a pig")

A = inputbox ("Say I'm a pig, don't turn it off, spread it quickly, say" "I'm a pig" ","Please enter "I'm a pig" and click OK to terminate the countdown to shutdown ",80007000)

msgbox chr( 13)+chr( 13)+chr( 13)+a,0," MsgBox "

ring

Msgbox CHR (13)+CHR (13)+CHR (13)+"I wish I had told you earlier."

Dim WSHshell

Set wshshell = wscript.createobject ("wscript.shell").

wsh shell . run " cmd . exe/c shut down-a ",0,true

Msgbox CHR (13)+CHR (13)+CHR (13)+"Ha ha ha ha, it's really enjoyable."

After downloading the VBS file directly, you can open it with text and modify the content at will.

The principle is to use the shutdown command that comes with the system.

Everyone started to run the input command cmd.exe/c shutdown-R-T 60-C.

It is the same. If you stop the timer, just enter cmd.exe/C Shutdown-A.

Make a VBS script