Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

How to Make Hibernate Shortcut in Windows

Do you want to hibernate your Windows computer? Are you searching for a way to enable hibernate option in your computer. Here we will tell you a simple trick to make a hibernation shortcut on your desktop. To enable hibernation in your Windows computer (Windows 7, Windows 8 or Windows 10), simply follow the given instructions:

  1. Right click on Desktop
  2. Select New -> Shortcut
  3. Type shutdown /h in the given textbox
  4. Click Next button
  5. Type a name for the shortcut (eg:hibernate now)
  6. Click Finish button.

Now a new shortcut will appear on your Windows desktop. Open it to hibernate the computer immediately.

How to Make Restart Shortcut in Windows

Here we will see how to create a restart shortcut. To make a shortcut for restart option on desktop, follow the given instructions:


  1. Right Click on Desktop.
  2. Select New > Shortcut
  3. In the text box, type: shutdown /r /t 1
  4. Click Next.
  5. Give a name like 'Restart' for the shortcut .
  6. Click Finish.



How to Schedule a Shutdown in Windows

You can schedule a shutdown in Windows. We will see how to plan a shutdown in your windows computer. It works for Windows 7, Windows 8 and Windows 10. To arrange or organize an automatic shutdown in your Windows computer, we use a run command. Once you set up a shutdown, when the specified time period is elapsed, you computer will shut down. Follow the given instructions to schedule an auto shutdown.


  1. Open Run dialog box from start menu (or by pressing Windows key + R).
  2. type shutdown /s /t sec in it.
    Here sec is the amount of time in seconds to be elapsed before shut down.
  3. Press Enter or click OK.
  4. You will be notified that a shutdown is scheduled.
  5. It is done.
An example is:
shutdown /s /t 600
Here after 600 seconds (10 minutes), the computer will turn off. The following video will show you.



How to Create Shutdown Shortcut in Windows

You can make a shortcut file which when opened, instantly shuts down Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. Here we will see how to create a shutdown shortcut in Windows. To make a shutdown shortcut on desktop, follow the given instructions.

  1. Right click on desktop.
  2. Select New -> Shortcut
  3. Type shutdown /p  in the text box
  4. Click Next button
  5. Give a name for the shortcut, like 'Shutdown' or 'Turn off'.
  6. Now Click Finish.
  7. No you will get a shortcut file on desktop
If you open this shortcut file, your computer will shutdown instantly. You will lose your unsaved works. So close all applications properly before shutdown.

How to Shutdown Windows Using Run Command

Here is how to shutdown Windows using run command. The command should be shutdown /p. That is, type shutdown /p in the run dialog box (opened by pressing windows key+ R) and press Enter. Your Windows computer will shutdown instantly. Remember that you may lose any unsaved works in open applications. This trick works in Windows 7, Windows 8 and Windows 10.

How to Create Logoff (Sign Out) Shortcut in Windows

You can create a shortcut file which when opened, instantly logs out or sign out the current user account from Microsoft Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. To make a Log out shortcut on desktop, follow the given instructions.


  1. Right click on desktop.
  2. Select New -> Shortcut
  3. Type shutdown /l  in the textbox
  4. Click Next button
  5. Give a name for the shortcut, like 'logoff', 'logout', 'signout' etc.
  6. Now Click Finish.
  7. No you will get a shortcut file on desktop
If you open this shortcut file, you will be logged out from your Windows computer. Remember, it is not shutting down. Just logging out. But, you will lose your unsaved works. In another post, we will see how to make shutdown, restart and hibernate shortcuts in windows.


How Block Websites on a Windows Computer

We will see how to block websites on a computer. There is a fine trick to block websites on any computer. This is done by editing the hosts file. The 'hosts' file is used to map host names to given IP addresses. The 'hosts' file is a plain text file that can be edited using text editors. Each line is a redirection entry. Each line should be an IP address followed by a space followed by a host name. When any application software (including browsers) try to connect to a host name (or website) which has an entry in the 'hosts' file, instead of using the domain name service, the IP address is taken from the corresponding entry in 'hosts' file. Then the connection goes to that IP address.

So, if we want to block any website, we only need add an entry for that website in the hosts file with a different IP address. By 'different IP address', i mean any IP other than the original IP of the website. The IP 127.0.0.1 is IP of your own computer. It is called loop back address. You can use this IP to block any website. If you use this IP, the application will try to connect to your own computer on its attempt to access the blocked website and thereby will fail to load the website.

hosts File in Windows

In Windows 7, Windows 8 or 8.1 and Windows 10, the hosts file can be found in the folder:
C:\Windows\System32\drivers\etc\
Here, C: is Windows installation drive.

How to use exit() System call

C program to show how to use exit system call. The function exit() is used to exit from a process (or to terminate a process). This works both in Linux or UNIX and Windows operating systems.

#include<stdio.h>
main()
{

How to Disable AutoRun or AutoPlay in Windows Operating Systems

Here i am writing about the methods to disable AutoRun feature in Microsoft Windows Operating Systems. To know more about AutoRun, See this post: What is AutoRun or AutoPlay and How to Set it?If you want to make an AutoRun CD or Pen Drive yourself, just visit this page: How to Make a AutoRun CD or DVD Using Autorun.inf. To disable Autotrun or Autoplay features, there are multiple methods. Methods may also be different for different versions of Windows operating system.

Disable AutoPlay on Windows 8 or 8.1

  • Open Start Menu
  • Goto PC Settings (gear icon).
  • got PC and Devices
  • Select AutoPlay
  • Click on the ON or Off Toggle button to turn it off.

Intel 8085 Microprocessor Simulator Software for Computer

In this post, I am adding links to some of the Intel 8085 Microprocessor kit Simulator software for your computer. They are available free of cost. There are 8085 simulator applications with Microprocessor textbooks like 8085 Microprocessor by Gaonkar. The following are 8085 simulator software for computer available for free download.

Java simulator with good features.
http://8085simulator.codeplex.com

GNU SIM 8085 simulator for Windows and Linux
http://gnusim8085.org

How to Connect PC or Laptop to Internet Using Android Phone

The Android operating system supports usage of Android phones as an Internet modem for Personal computer or laptops. This facility of sharing the Internet connection of Android phone with a laptop or PC through a USB cable is called USB tethering. It supports most of major operating systems.

In Linux:


In Linux you just have to enable 'packet data' in phone first, connect phone with PC or laptop through USB data cable and check the option 'USB tethering' in Settings. It is somewhere within USB settings or Wifi and network settings. The place of this option may vary from phone to phone.In my phone (Ssmsung Galaxy S Advance, GT-I9070) , it is found as follows: Settings-> Wireless and Neetwork->Tethering and Portable Hotspot-> USB tethering. Check the option 'USB Tethering'. When 'USB tethering' is enabled, your Linux OS will automatically install the 'Remote NDIS based Internet sharing' driver. and your computer will automatically connect to internet within a few minutes.


Windows XP:


How to Connect Windows 8 or 8.1 Compuer to Internet by USB Tethering Android Phone

Let me tell you first that USB tethering is the process of sharing the internet connection of your Android phone with your PC or laptop through USB connection. In Windows 7, Windows Vista and Linux, USB tethering works so easily that we just have to enable packet data, connect phone through USB and enable 'USB tethering' in Settings. Above mentioned operating systems automatically install the required drivers. And within few minutes, the system will connect to Internet through your USB connected Android phone. But it is not that much easy in Windows 8 or Windows 8.1. We have to manually install the driver for the Android device to enable USB tethering. In this post, I will show you how to enable USB tethering in Windows 8 and Windows 8.1.