TechArtilce
No Result
View All Result
  • HOME
  • INTERNET
  • COMPUTER
  • TECHNOLOGY
  • BUSINESS
  • HOW TO
  • GADGETS
  • LIFESTYLE
  • More
    • DIGITAL MARKETING
    • EDUCATION
    • PHONES
  • HOME
  • INTERNET
  • COMPUTER
  • TECHNOLOGY
  • BUSINESS
  • HOW TO
  • GADGETS
  • LIFESTYLE
  • More
    • DIGITAL MARKETING
    • EDUCATION
    • PHONES
No Result
View All Result
TechArtilce
No Result
View All Result
Home HOW TO

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

admin by admin
July 3, 2020
in HOW TO
0
How to RUN CMD Commands With a Desktop Shortcut on Windows 10
308
SHARES
2.4k
VIEWS
Share on FacebookShare on Twitter

Related articles

How to Fixed [pii_pn_94350d4f27673d07] Error Code in Mail?

How to Fix [pii_email_ccc72642c6c6e3fe8a61] Error Code

Some users use Command Prompt daily. Some use to flush the DNS every time they get an internet error; and some use it to reset the DNS cache, some use it to find the IP address. Here we have shared an easy method to RUN CMD Commands with a desktop shortcut on Windows 10.

If you have been using Windows operating system for a while, then you might be well aware of CMD or Command Prompt. It’s one of the most powerful tools in Windows, which is used to operate a wide range of tasks. It’s a command-line interpreter that can be used to access some of the core features of Windows.

There were lots of users who use Command Prompt daily. Some use to flush the DNS every time they get an internet error; some use it to reset the DNS cache, and some use it to find the IP address. So, if you are amongst those who use CMD at regular intervals, then this post might be beneficial to you.

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

In this article, we are going to share a method that would let you run CMD commands directly from the desktop. For that, we need to create a command prompt shortcut on the desktop. Once created, you can make the desktop shortcut to execute the CMD command of your wish.

Step 1. First of all, Right-click on the desktop, and select – New > Shortcut.

select – New > Shortcut

Step 2. Under the Create Shortcut box, you need to enter ‘C:WindowsSystem32cmd.exe‘ on the location field and click on the ‘Next’ button.

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

Step 3. In the final step, you would be asked to type a name for the new shortcut. Simply name it as per your wish.

type a name for the new shortcut
type a name for the new shortcut

Step 4. Once done, right-click on the Shortcut file and select ‘Properties’

Select 'Properties'
Select ‘Properties’

Step 5. Under the ‘Target’ field, you need to enter ‘/k followed by your CMD command‘

The target field would look like this after the modification – "C:WindowsSystem32cmd.exe" /k echo hello world

The target field
The target field

Note: The "/k" between the command tells the command prompt to run the command that you will type after it.

Similarly, you can try the automatic ping command – "C:WindowsSystem32cmd.exe" /k ping www.google.com

Another example of target field
Another example of target field

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

Important: Make sure to remove the double Apostrophe (“) symbols from the target fields, or else it will not work.

For a complete list of important CMD commands, you can visit our article –

So, this article is all about how to run Command Prompt commands with desktop shortcuts on Windows 10. I hope this article helped you! Share it with your friends also.

Previous Post

Top Healthcare Agencies in the UK With Best Strategies

Next Post

How A Digital Marketing Agency Can Get Any Company Out Of A Crisis Pit?

Related Posts

How to Fixed [pii_pn_94350d4f27673d07] Error Code in Mail?
HOW TO

How to Fixed [pii_pn_94350d4f27673d07] Error Code in Mail?

February 27, 2021
How to Fix [pii_email_ccc72642c6c6e3fe8a61] Error Code
HOW TO

How to Fix [pii_email_ccc72642c6c6e3fe8a61] Error Code

February 25, 2021
Solved [pii_email_3a19ac5cc937023e1594] Error code Easily
HOW TO

Solved [pii_email_3a19ac5cc937023e1594] Error code Easily

February 24, 2021

Leave a Reply Cancel reply

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

Top 10 Yesbackpage Alternatives: What is Yesbackpage.com

Top 10 Yesbackpage Alternatives: What is Yesbackpage.com

February 27, 2021
Mobdro Alternatives 2021 8 Best Live TV Apps Like Mobdro

Mobdro Alternatives 2021 8 Best Live TV Apps Like Mobdro

February 27, 2021
How to Fixed [pii_pn_94350d4f27673d07] Error Code in Mail?

How to Fixed [pii_pn_94350d4f27673d07] Error Code in Mail?

February 27, 2021
How to Fix [pii_email_ccc72642c6c6e3fe8a61] Error Code

How to Fix [pii_email_ccc72642c6c6e3fe8a61] Error Code

February 25, 2021
Solved [pii_email_3a19ac5cc937023e1594] Error code Easily

Solved [pii_email_3a19ac5cc937023e1594] Error code Easily

February 24, 2021
TechArtilce

© 2020 Tech Article - All Rights Reserved.

Navigate Site

  • Write for us
  • Privacy & Policy
  • Contact

Follow Us

No Result
View All Result
  • HOME
  • INTERNET
  • COMPUTER
  • TECHNOLOGY
  • BUSINESS
  • HOW TO
  • GADGETS
  • LIFESTYLE
  • More
    • DIGITAL MARKETING
    • EDUCATION
    • PHONES

© 2020 Tech Article - All Rights Reserved.