Create shortcut for Microsoft shell commands

Saturday, September 22, 2012

Hi everybody , I was astounded by the overwhelming feedbacks of my last post about "Share PC internet with android phone through wifi without using any software.". I therefore want to help you farther by showing an alternative way to create Microsoft shell commands. This would be helpful for those who are not familiar with Microsoft's Command Prompt. I have shown the steps with small views to demonstrate the whole process. It is very simple and you can just double click on the shortcut to run any cmd command.




Step 1:
Right click on the desktop and create a shortcut.
Step 2:
Once you create a shortcut, a small window opens up. You need to type the required command script on that blank.

Now if you want to run a script like "netsh wlan start hostednetwork" then type that in the given field.
Step 3:
Now give it a name. For me it is "Start.exe"

Step 4:

To verify whether it will runs your command or not, right click on the shortcut and watch the Target field. It contains the path of your command.



Similarly create another two files with commands "netsh wlan set hostednetwork mode=allow ssid=funkywifi key=password123 keyusage=persistent " and "netsh wlan stop hostednetwork" named as "Configure_WiFi" and "Stop" respectively.
You can change you Wifi-access point name and password by changing ssid and password parameter in the "Target" field as shown in the above pic.
Now to run a command as administrator , simply right click and choose "run as administrator" option. Hope this would help you further.


Visit blogadda.com to discover Indian blogs 
Share /

7 comments

  1. In the advanced options of the shortcut, you can set it to run as administrator. :D

    ReplyDelete
  2. thanks..its work..

    ReplyDelete
  3. thanks, it's help me a lot :D

    ReplyDelete
  4. good work...keep it up

    ReplyDelete

Contact

Name

Email *

Message *

Join us

© Ideas Unwatched