How to Create Custom Cortana Commands in Windows 10

Ben Stegner 05-03-2018

Cortana is one of Windows 10’s most underutilized features The 10 Most Overlooked Windows 10 Features Windows 10 has lots of features, but you may have overlooked some of them. Let's look at 10 Windows 10 features you don't want to miss! Read More , but she can really do a lot if you take the time to work with her. With just a few voice commands, you can open files, navigate to websites, change settings, and so much more Cortana in Windows 10: Everything You Need to Know The digital assistant Microsoft Cortana is an integral part of Windows 10. Do you wonder what Cortana can do or how to turn Cortana off? We've got answers. Read More .


But what if Cortana’s native skills aren’t enough for you? If that’s the case, you’ll be happy to know that you can create your own custom Cortana skills. It takes a bit of work, but we’ll show you what you need to know.

How to Create Custom Cortana Commands in Windows 10 Windows Cortana Custom Shortcut

How to Create Cortana Commands in Windows 10

Here’s how you can make Cortana perform new actions like hibernating your PC:

  1. Open a File Explorer window and paste the following path into the address bar:
    C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
  2. Right-click a blank spot and select New > Shortcut.
  3. In the Type the location of the item, enter the command you want to execute. For instance, enter this if you want to make a command to hibernate your PC:
    shutdown.exe -h
  4. Add a name for the shortcut that you’ll say to Cortana to run it. Hibernate Computer will work here.
  5. Click Finish, then you can say “Hey Cortana, open Hibernate Computer.” If it doesn’t work right away, wait a few minutes for Cortana to index the new file.

You can perform more complicated tasks by writing a batch file How to Create a Batch (BAT) File in Five Simple Steps This article covers how to create a batch file using five simple steps for the Windows operating system. Read More . After you’ve written one up and saved it with the BAT extension, right-click it and choose Create shortcut.

Paste the shortcut into the same location:

C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Make sure it has a clear name. After a few minutes, you can say “Hey Cortana, open Batch File Name” and she’ll execute the commands.

Make sure the name you select is short and simple. Cortana might have trouble with longer names. You should also avoid any names close to her default commands to prevent confusion.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

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