Most useful tricks with command prompt commands.

Unlike graphical user interfaces on operating systems we usually use, command prompt is very basic with no fancy designs. Then, what’s the point of using Command prompt? The point is, command prompt is more faster while performing certain tasks when compared to the graphical user interfaces. And some of the soft-wares only work on command prompt. It simply takes command prompt commands and performs them.

Create Wi-Fi hotspot directly through command prompt commands

Step 1:

Open command prompt on your windows PC by searching command prompt on start. Now, type in the command prompt commands netsh wlan set hostednetwork mode=allow ssid=Hotspot Key=password “.

command prompt commands

This creates a hotspot with the name “Hotspot“, as “ssid=Hotspot“. So, it can be changed to any name. And the password is at “key=password”. In this way, password and hotspot name can be changed.

Step 2:

Once the hotspot is set, it should be turned on. To turn it on, write the command prompt commands netsh wlan start hostednetwork” and use “netsh wlan stop hostednetwork” to stop the hotspot.

command prompt commands

Step 3:

There is still something to do, in order to enable Wi-Fi. Press windows button and ‘R’ at the same time, now type “ncpa.cpl” in run. You will see the connected internet connection and a hotspot enabled local connection.

Now, right click on connected internet connection, click on properties> sharing. Tick the box to enable connection. And select the name local hotspot connection correctly.

Use any wifi enabled device and connect to the hotspot by selecting the Wi-Fi “Hotspot” and giving the password “password”.

command prompt commandscommand prompt commands

 

Hide any folder through command prompt commands

Step 1:

Open command prompt, enter into the folder that is to be hidden. For example, here I am hiding the folder “books”, which is on the desktop. So, type the command prompt command “cd desktop”.

command prompt commandscommand prompt commands

Step 2:

Enter these command prompt commands, “attrib +h +s +r books”, which hides the folder “books”. This hides all the files and folders in that selected folder. To access it again, enter “attrib -h -s -r books”.

command prompt commandscommand prompt commands

command prompt commands

Encrypt

Step 1:

Open command prompt and enter into the position of that folder by giving a command “cd desktop“. Since, the folder “books” is on the desktop, enter into the folder that you want to hide, by using the command “cd books“.

Step 2:

Once you enter the folder you want to hide, use this command “cipher /e” to encrypt.

These are few most useful command prompt commands that can help you work more efficiently. 

Leave a Reply

%d bloggers like this: