Also read : How to share internet between two Android Mobile Phones.
Steps To Turn Windows-8 Into Wifi Hotspot :
1.Open Network and Sharing center from Control Panel => Network and Internet => Network and Sharing and click “Change Adapter Setting” from the left side.Now you will be taken to the Network Connections window.
netsh wlan set hostednetwork mode=allow ssid=jishnu key=Password
Type in a name in SSID and a secure key.This is the name that is used to connect from the other devices using wifi.
Here the SSID is jishnu and key is Password.
This creates a new connection named “Local area Connection” on your computer.
netsh wlan start hostednetwork
netsh wlan stop hostednetwork