Create a notepad on your desktop and copy the following code into it on error resume next dim WSHshellA set WSHshellA = wscrip remove t.createobject("wscrip remove t.shell") WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c " "Say I'm a pig, if you don't say I'm a pig, turn off your phone for a minute, if you don't believe me, you try..." ",0 ,true dim a do while(a <> "I am a pig") a = inputbox ("Say I'm a pig, don't shut it down, throw it quickly, say "I'm a pig"", "Say no", "Don't say", 8000,7000) msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox" loop msgbox chr(13) + chr(13) + chr(13) + "I should have said it earlier, hehe, pig" dim WSHshell set WSHshell = wscrip remove t.createobject("wscrip remove t.shell") WSHshell.run "cmd.exe /c shutdown -a",0 ,true msgbox chr(13) + chr(13) + chr(13) + "Hahahaha, it's so enjoyable"
After copying, change the suffix to .vbs or change the opening method to an application, so that you can compress it and send it to your friends with QQ, and the other party will hit it If you turn it on, you have to shut down the computer within 60 seconds. He can only say that he is a pig to solve the problem. Bad enough, right? Note that you can change the one I am a pig to Ren If you want to say something, if you deal with someone you like, Just change it to I love you, so that he will not turn off the computer until he says I love you, and he can also change the time to 20, which means to fight It turns off after 20 seconds, and turns off before the other party finishes playing. The second trick is to write a VBS script First you can look at the following Wscrip removes t.echo ("Hey, thank you for opening me oh, I've been waiting for you to pull it for a long time!") &TSName) Wscrip removed t.Echo ("Are you a cute buddy?") Wscrip removed t.echo ("Ha, I want you to pull it, don't you know this?") ) Wscrip removed t.echo ("Why did you come, say~ don't you care about me") Wscrip removed t.echo ("Hmph, I'm angry, I've been waiting for you for so long, my heart is cold." ) Wscrip removed t.echo ("Xiaoqiang is very angry, the consequences are serious." ) Wscrip removed t.echo ("Hey! You'll be miserable too.") Wscrip removed t.echo ("Do you want to get rid of me?") ) Wscrip removed t.echo ("Then you'll have to order 50 times, but I'll surprise you") Wscrip removed t.Echo ("49 runs left, hurry up") Wscrip removed the t.echo ("48 beats left, hurry up, little fool!") ) Wscrip removed t.echo ("47 games left, just go fast!") ) Wscrip removed t.echo ("46 remaining. You're just stupid, hurry up, I won't disturb your work first. ") Wscrip removed t.Echo ("45 left, remember to be fast!") ) Wscrip removed t.echo ("43 hits left") Wscrip removed t.echo ("42 hits left") Wscrip removed t.echo ("41 hits left") Wscrip removed t.echo ("40 hits left") Wscrip removed t.Echo ("39 hits left") Wscrip removed t.echo ("38 hits left") Wscrip removed t.echo ("37 hits left") Wscrip removed t.echo ("36 hits left") Wscrip removed t.echo ("35 hits left") Wscrip removed t.echo ("34 hits left") Wscrip removed t.echo ("33 hits left") Wscrip removed t.echo ("32 hits left") Wscrip removed t.echo ("30 hits left") Wscrip removed t.echo ("29 hits left") Wscrip removed t.echo ("28 hits left") Wscrip removed t.echo ("27 hits left") Wscrip removed t.echo ("26 hits left") Wscrip removed t.echo ("25 hits left") Wscrip removed t.Echo ("24 hits left") Wscrip removed t.echo ("23 hits left") Wscrip removed t.echo ("22 hits left") Wscrip removed t.echo ("21 hits left") Wscrip removed t.echo ("20 hits left") Wscrip removed t.echo ("19 hits left") Wscrip removed t.echo ("18 hits left") Wscrip removed t.echo ("17 hits left") Wscrip removed t.echo ("16 hits left") Wscrip removed t.echo ("15 hits left") Wscrip removed t.echo ("14 hits left") Wscrip removed t.echo ("13 stops left!! Slow down, I have something to say") Wscrip removed t.echo ("12 left, if you keep clicking and I'll disappear") Wscrip removed t.echo ("11 plays left, you won't see me pull later.") 555555") Wscrip removed the t.echo ("10 beats left, you can now choose to stop!") ) Wscrip removed t.echo ("9 left. What else are you doing, don't you want me to pull it? ") Wscrip removed t.echo ("8 plays left, a little sad pull, why discard people") Wscrip removed t.echo ("7 left. Crazy, you have a little negative intentions! ") Wscrip removed t.echo ("6 left. Right. Just do it, I hate you!" ") Wscrip removed t.echo ("5 plays left, don't understand, can you just delete me?") ) Wscrip removed the t.echo ("4 hits left!") Do you want to delete me? ") Wscrip removed t.echo ("3 left. But I really love you... ") Wscrip removed t.echo ("2 hits left. Don't be so heartless, people love you! ") Wscrip removed t.echo ("1 left in the game. Hmph, since you are so heartless. Don't blame me for being unrighteous!! ") Wscrip removed t.echo ("I should have disappeared, but I miss your beauty, God gave me another chance.") ) Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Wscrip removed t.echo ("Do you want to marry me?") Then you can order one more time") Copy this in Notepad and change the suffix to .vbs When you open it, you will say the first sentence Hey, thank you for opening me, I've been waiting for you for a long time! Whether he is close or sure, he will say the second sentence again If you click on it, you will say 3 sentences in order Attention, the last 10 sentences, only 10 sentences, if you copy and paste this N times, then he still has a finished sentence? If you send it to someone you like, then write what you want to say, and you can change it at will in double quotation marks This is the simplest thing to do to end it
2。
Copy the following code into Notepad and rename it to a file with the suffix VBS~ do msgbox "Kill you~" loop
The shutdown of Windows XP is controlled by Shutdown.exe program located in the Windows\System32 folder. Such as If you want Windows 2000 to achieve the same effect, you can copy the Shutdown.exe to the system directory.
For example, if your computer wants to shut down at 22:00, you can select "Start → Run" and enter "at 22:00 Shutdown -s", In this way, at 22 o'clock, the computer will appear a "System Shutdown" dialog box, with a default 30-second countdown and prompt you to save the work Done. If you want to shut down in a countdown fashion, you can type "Shutdown.exe -s -t 3600", where 60 is represented Automatically shut down after minutes, "3600" stands for 60 minutes.
After setting up automatic shutdown, if you want to cancel it, you can enter "shutdown -a" in running. Enter separately shutdown -i to open the Set Auto Shutdown dialog box to set automatic shutdown.
Shutdown.exe parameters, each with a specific purpose, and executing each one will produce different effects, such as: "-s" means to shut down the local computer, "-a" means to cancel the shutdown operation, more parameters are listed below, everyone Can be used on-demand in Shutdown.exe.
-f: Force close the app
-m \\ computer name: control remote computer
-i: Displays the graphical user interface, but must be the first option for Shutdown
-l: Log out of the current user
-r: Shut down and restart
-t time: Set the shutdown countdown
-c "Message Content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters)
Sometimes, we need to shut down our computer at a scheduled time, and here is a simple way to achieve a scheduled shutdown in Windows XP law.
Specify that the system will automatically shut down after 22 minutes: Click "Start → Run" and enter the command "Shutdown" in "Open" -s -t 1320" (Note: no quotation marks, spaces between parameters, 1320 in seconds), click OK button.
Specify that the system will automatically shut down at a certain time (e.g. 12:00): Enter the command in "On" "at 12:00 Shutdown -s" is fine.
Cancel scheduled shutdown: Enter the command "Shutdown -a" in "Open".
The implementation of the function is implemented using the "Shutdown" command, and the shutdown parameter is entered in the command line window “shutdown”。 The author thinks the most useful is the "-i" parameter, which can bring up the "remote shutdown dialog". It can easily realize the remote shutdown of computers in the LAN, and interested friends can give it a try.
Start - Programs - Accessories - System Tools - Scheduled Tasks - Add Task Schedule - Next - Browse -c:\windows\system32\shadow.exe-Next-choose the time to shut down, The next step - enter the username and password, as long as there are users in the system, but there must be a password, If you don't have one, next step, select "Open advanced properties of this task when completed", Don't put "-S" quotes after the run bar. |