The windows command line is a very useful tool embedded in every windows desktop. It looks old school and may seem not to be not used again in this modern era of GUI. But there are some instances where you’ll be able to work much faster with the command line than clicking your favorite icons. Here are some cool things to do with the windows command prompt:
1. Set Up Wi-Fi Hotspot
First of all, you'll need to open the windows command prompt, then type the following commands
‘netsh wlan set hostednetwork mode = allow ssid=HotspotName key=Password’.
You can replace ‘Password’ with any word of your choice to serve as the password to connect to the network. To turn your connection on, enter the following ‘netsh wlan start hostednetwork’
Congrats!!! You don’t need any third-party apps to get this simple task done. Don’t forget to turn your connection off after use. You can do that by typing ‘netsh wlan stop hostednetwork’
2. Uninstall Desktop Program
Open the windows command as administrator, type ‘wmic’ to see which apps you can uninstall with the command line type ‘product get name’
the names of all apps will appear. Continue with the command ‘product where name=”name of program” call uninstall’.
You must replace “name of program” with the name of the program you want to uninstall. If the uninstallation is performed successfully, you see a ReturnValue=0 and a message saying “Method execution successful.”
3. Hide Folders
Start by navigating to the directory that contains the folder, you can do the by launching cmd and then with the ‘cd’ command. But I’ll show you a simpler way. Open the root of the folder like you normally do with GUI and on the address bar type ‘cmd’ and hit the enter key.
Enter the following command into your command line,
‘Attrib +h +s +r ’ and then type the name of the folder next to the command. Hit the enter key. You're done.
Now to unhide your folder, navigate to the directory again, and enter the following command:
'Attrib -h -s -r' together with the name of the folder.
0 comments:
Post a Comment