Saturday, March 5, 2016

How to run Command prompt Command with single click?

Step-1: Create Shortcut

Press Right click mouse button on Desktop


Type %comspec% /k start C:
%comspec% /k command for open command prompt window
Follow this command we can write any other command that we have to execute in command prompt
Suppose we have to open C drive than we use start C: Command.
Then press next.

Type shortcut name and then press finish button to create shortcut.

Step-2: Execute shortcut file

Open new created shortcut file.

No comments:

Post a Comment