Run any Command Prompt command using Cortana

Cortana may not be as popular as Microsoft hoped, but theres no denying its usefulness. This article from TipsMake will guide you on how to run any Command Prompt (CMD) command using Cortana.

In the Windows 10 Fall Creators Update, users can use Cortana to shut down, restart, lock, or log out their computer simply by saying 'Hey Cortana, shut down my computer'.

Additionally, users can use Cortana to open any program the virtual assistant finds on the Start Menu with a simple voice command. If you want to run any Command Prompt command using Cortana, refer to the article below from TipsMake.

To run any Command Prompt command using Cortana, first open File Explorer and paste the following path into the address bar:

%APPDATA%MicrosoftWindowsStart MenuPrograms

This action opens the Start Menu list of programs (where Cortana searches for shortcuts when you speak a command). Right-click anywhere in the Programs folder , select New => Shortcut .

In the window that appears on the screen, enter the Command Prompt command you want to call by voice in the " Type the location of the item" box . In this example, we use the command:

rundll32.exe powrprof.dll,SetSuspendState 0,1,0

Replace the above command with any command you want to use, then click Next .

In the next window, give the shortcut any name you want. In this example, the shortcut name is Sleep Computer .

Click Finish when you're done. You will now see the new shortcut in the Programs folder.

Above is everything you need to do to run any Command Prompt command using Cortana. From now on, to call a shortcut, you just need to say 'Hey Cortana, open [shortcut name]'. In this example, it's 'Hey Cortana, open Sleep Computer'.

Some commands in CMD require users to run CMD with administrator privileges on Windows 7, 8, 8.1, and 10 to access them. You can refer to the article  on running CMD  with administrator privileges that TipsMake has shared for more information.


You can not only run any Command Prompt command using Cortana, but also perform many other tasks. To better understand how to use this virtual assistant, please refer to our comprehensive guide on using Cortana on Windows 10. Good luck!

Other System articles
  • Use Command Prompt to block or allow WiFi connections.

    if you have multiple wifi connections, you can configure windows to allow or block specific wifi connections. this article from tipsmake will guide you on how to use command prompt (cmd) to block or allow wifi connections on windows 10. you can also apply this method to block untrusted wifi networks.
  • Master Command Prompt on Windows 10

    the command prompt on windows 10 allows us to access a lot of information about our devices, internet networks, and more. however, there's much more that cmd supports that you can explore further in the content below.
  • 5 Command Prompt tricks that few users know about.

    command prompt is a long-standing tool integrated into various versions of windows, with many uses that not everyone is aware of. the following 5 lesser-known command prompt tips will significantly enhance your computer usage skills.
  • What is PowerShell? How to use PowerShell effectively on a computer.

    powershell is a command-line program that is gradually becoming the default on windows 10, replacing the outdated cmd. however, powershell is still a relatively new program for computer users. taimienphi will introduce you to powershell and how to use it effectively.
  • The difference between Command Prompt and Windows PowerShell

    the two most common commands are command prompt and powershell. while they may look similar on the surface, they are actually quite different. there are many differences between command prompt and powershell.
  • Run CMD with administrator privileges on Windows 7, 8, 8.1, and 10.

    when you open cmd with administrator privileges on a windows computer, you can execute all commands that require administrator privileges. there are many ways to open command prompt as administrator on windows; below, tipsmake will guide you on how to open and run cmd with administrator privileges on windows 7, xp, windows 8/8.1, and windows 10.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup