Home / Tips And Tricks / How to RUN CMD Commands With a Desktop Shortcut on Windows 10

How to RUN CMD Commands With a Desktop Shortcut on Windows 10

Some customers use Command Suggested day by day. Some use to flush the DNS each time they get an web error; and a few use it to reset the DNS cache, some use it to seek out the IP cope with. Right here now we have shared a very simple strategy to RUN CMD Instructions with a desktop shortcut on Home windows 10.

When you have been the usage of Home windows running machine for some time, you then could be neatly acutely aware of CMD or Command Suggested. It’s one of the crucial tough gear in Home windows, which is used to perform quite a lot of duties. It’s a command-line interpreter that can be utilized to get admission to one of the core options of Home windows.

There have been a number of customers who use Command Suggested day by day. Some use to flush the DNS each time they get an web error; some use it to reset the DNS cache, and a few use it to seek out the IP cope with. So, in case you are among those that use CMD at common periods, then this publish could be recommended to you.

How one can RUN CMD Instructions With a Desktop Shortcut on Home windows 10

On this article, we’re going to proportion one way that may mean you can run CMD instructions at once from the desktop. For that, we want to create a command advised shortcut at the desktop. As soon as created, you’ll be able to make the desktop shortcut to execute the CMD command of your want.

Step 1. To begin with, Proper-click at the desktop, and choose – New > Shortcut.

select - New > Shortcut
choose – New > Shortcut

Step 2. Below the Create Shortcut field, you want to go into ‘C:WindowsSystem32cmd.exe‘ at the location box and click on at the ‘Subsequent’ button.

enter'C:WindowsSystem32cmd.exe' on the location field
input ‘C:WindowsSystem32cmd.exe’ at the location box

Step three. Within the ultimate step, you could possibly be requested to sort a reputation for the brand new shortcut. Merely identify it as according to your want.

type a name for the new shortcut
sort a reputation for the brand new shortcut

Step four. As soon as carried out, right-click at the Shortcut report and choose ‘Homes’

Select'Properties'
Make a selection ‘Homes’

Step five. Below the ‘Goal’ box, you want to go into ‘/ok adopted via your CMD command

The objective box would appear to be this after the amendment – "C:WindowsSystem32cmd.exe" /ok echo hi global

The target field
The objective box

Notice: The "/ok" between the command tells the command advised to run the command that you’re going to sort after it.

In a similar way, you’ll be able to check out the automated ping command – "C:WindowsSystem32cmd.exe" /ok ping www.google.com

Another example of target field
Any other instance of goal box

To flush the DNS cache, you want to create a shortcut with – "C:WindowsSystem32cmd.exe" /ok ipconfig /flushdns

Necessary: Be sure to take away the double Apostrophe (“) symbols from the objective fields, or else it’s going to no longer paintings.

For an entire checklist of vital CMD instructions, you’ll be able to seek advice from our article –

So, this text is all about methods to run Command Suggested instructions with desktop shortcuts on Home windows 10. I’m hoping this text helped you! Percentage it with your folks additionally.

About

Check Also

1601385321 ms office 2013 professional plus free download full version 310x165 - MS Office 2013 (Professional Plus) Free Download Full Version

MS Office 2013 (Professional Plus) Free Download Full Version

Microsoft Administrative center 2013 is a model of Microsoft Administrative center, a productiveness suite for …

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.