We can play prank on our friends using this post.For this we need a command shutdown -s -f -t 20 -c "shutting down in 20 secs"
So let's start:
- Right click mouse on desktop.Goto "New" and click on "Shortcut".
- A dialog box will open and ask to type the location of item.
- Copy and paste the above command in it and click "Next".
- After that it will ask to enter a name for the shortcut.Let us name it "image101"and click on "Finish".
- Now a icon named "image101" will be created on desktop.
- Again right click on icon and click on "Properties".
- There will be many buttons present in the dialog box.But click on "Shortcut".
- In Shortcut,click on "Change icon" button.(Sometimes,a message will be displayed.Just ignore them by clicking on "Ok").
- Select any icon(I had selected of an image,you can use icon of drive,recycle bin) and click on "Ok".
- Click on "Apply" and "Ok" respectively.
Notes:
- Instead of shutting down computer,if you want to restart it use this command shutdown -r -f -t 30 -c "give the message you want to display"
- -t 30 represents the time period(here, 30 seconds) after which computer will shutdown.
- If you want to abort the shutdown, use the following command shutdown -a
Show your appreciation by liking or sharing the post:
Sign up here with your email
ConversionConversion EmoticonEmoticon