MASIGNCLEAN104

Make Cortana perform custom tasks on Windows 10

iklan banner

Many Windows 10 users execute similar tasks every day, together with spell at that spot is a agency to execute those tasks every 24-hour interval using the inbuilt Task Scheduler inwards Windows, its fifty-fifty improve if y'all tin dismiss execute commands amongst your voice. This is where Cortana, Microsoft's Digitial Assistant, comes into the picture.

 together with spell at that spot is a agency to execute those tasks every 24-hour interval using the inbuilt Task Schedule Make Cortana perform custom tasks on Windows 10

Cortana tin dismiss response questions, launch apps on your PC, together with fifty-fifty tin dismiss execute about pre-defined commands when asked over voice, however, the alternative to execute custom, together with complex commands over vocalism are non inbuilt into it. In this post, nosotros are looking at diverse ways y'all tin dismiss execute commands hands-free.

This tin dismiss endure achieved only past times bespeak Cortana to opened upward a script which has about pre-defined commands written into it. Let's larn how to practise it.

Make Cortana execute Commands

If y'all conception to execute uncomplicated commands similar Shutdown your PC, Open Settings, Turn off Bluetooth, etc, know that Cortana instantly supports most of the basic functions on Windows 10 PC. You tin dismiss fifty-fifty launch apps, together with games.

Open File Explorer amongst voice

In this example, I am showing y'all how to opened upward File Explorer amongst voice:

  • On your desktop, right-click, together with select New > Shortcut.
  • This volition opened upward a prompt which volition inquire y'all for Type the place of the item.
  • Type inwards quotes “explorer.exe”, and click next.

 together with spell at that spot is a agency to execute those tasks every 24-hour interval using the inbuilt Task Schedule Make Cortana perform custom tasks on Windows 10

  • Give a unique elevate for this. Say “EXP”
  • The shortcut volition endure available on your desktop.
  • Now re-create it, together with navigate to the folder C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
  • Paste it.

 together with spell at that spot is a agency to execute those tasks every 24-hour interval using the inbuilt Task Schedule Make Cortana perform custom tasks on Windows 10

One this is done,  you tin dismiss enjoin Hey Cortana, Open EXP, together with it volition launch Explorer.

It may cause got about fourth dimension for Cortana to realize this novel shortcut y'all cause got inwards that folder. Cortana indexes programs often, together with i time done, she volition endure able to uncovering them.

TIP: Tons of Cortana Tips together with Tricks here.

Execute Custom Commands using Cortana

Now let's enjoin if y'all cause got a complex dominance to execute which is a listing of multiple commands to endure executed i later the other. Cortana cannot practise it, together with the shortcut alternative won't piece of work either. This is where the role of script come. Imagine this every bit a laid upward of commands y'all type on your dominance prompt i later the other.

You volition demand to cause got a basic agreement of commands inwards Windows. If y'all are non aware of it, brand certain to search on the cyberspace or uncovering mortal who tin dismiss assistance y'all amongst that.

Scenario: I re-create files every 24-hour interval from i of my motility to another, together with also re-create it to OneDrive. After the re-create is complete, I delete all the files from the beginning folder.

You volition demand to create a  “Batch” script file for this. I volition propose y'all download Notepad++, which tin dismiss warn y'all of errors, together with also offering syntax support. Once installed, follow the steps below:

  • Open Notepad++.
  • Create a New File together with save it every bit “Daily Backup”, together with brand certain to choose extension as.BAT every bit shown inwards the epitome below.
  • Now type your commands, together with inwards my case, it looks similar this.

 together with spell at that spot is a agency to execute those tasks every 24-hour interval using the inbuilt Task Schedule Make Cortana perform custom tasks on Windows 10

  • Now, Right-click on the batch file together with select Create Shortcut.
  • Make certain to rename it to about that are pregnant full.  You tin dismiss either occupation F2 or select the file, together with and thence over again click on the Name of the file, together with it volition opened upward the edit box.
  • Now re-create the shortcut.
  • Next, nosotros volition practise the same affair nosotros did for the uncomplicated commands.
  • Go to C:\Users\YOUR-USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs.
  • Paste the Shortcut here.

Now y'all tin dismiss enjoin “Hey Cortana, opened upward My Backup“, together with it volition execute the commands. If y'all noticed, I cause got added a respite inwards the script to brand certain y'all to boot the bucket run into what happened during the re-create process. So inwards representative of errors, y'all volition know nigh it.

Pro Tip: First, e'er occupation uncomplicated names. Even though Cortana tin dismiss empathise vocalism commands clearly, I cause got seen many a fourth dimension that it recognizes to fail. Second, brand certain the commands don't audio similar native commands which Cortana tin dismiss execute. E.g. Shutdown, Music, etc. Lastly, e'er practise a backup of your script, together with salvage it online.


Source: https://www.thewindowsclub.com/
Share This :