win10系统将.txt文件默认打开方式设置为Notepad++

在网上找的的方式:win10系统将.txt文件默认打开方式设置为Notepad++,但是不行,会报这个错误:shellExecute failed : is this command correct?

win10系统将.txt文件默认打开方式设置为Notepad++

原因是:

win10系统将.txt文件默认打开方式设置为Notepad++

步骤如下:

win10系统将.txt文件默认打开方式设置为Notepad++

win10系统将.txt文件默认打开方式设置为Notepad++

win10系统将.txt文件默认打开方式设置为Notepad++