How to connect Cortana commands to custom scripts?

前端 未结 2 1879
栀梦
栀梦 2021-01-30 06:59

This may be a little early to ask this, but I\'m running Windows 10 Technical Preview Build 10122. I\'d like to set up Cortana to have custom commands. Here\'s how she works:

2条回答
  •  一生所求
    2021-01-30 07:41

    What you can do is write a .bat file and add a shortcut to the file to the Folder: C:\ProgramData\Microsoft\Windows\Start Menu\Programs you can name the shortcut whatever you want and trigger the shutdown by saying: "Hey Cortana open/start [shortcut name]". Make sure that Cortana only listens to you to not get "pranked".

提交回复
热议问题