Beep
Sometimes you want to open a project with websotrm, sometimes you want to open with VScode, the fastest way is the right way to open a designated
these times will own the software installed, but if some software does not come with the right item, you have to go registry manually add
these things are not good search, simply remember what their own, so next time forgot
step
1. Open the Registry
win
+R
Key, enterregedit
, open the registry
2, find the location you want to add
In 计算机\HKEY_CLASSES_ROOT
this directory
* All entries are in directories that correspond to the shell
of this *
number is to add the following file is opened, such as .txt file you want to open with webstorm
down to find, there is a Directory
directory shell
is specified in the file right folder menu, Background
shell case is right in the desktop space
3, add a shortcut
For example, I would like to add cmd to open a terminal in the desktop right options:
1, the first step
In the desktop blank corresponding directory ( 计算机\HKEY_CLASSES_ROOT\Directory\Background\shell\
under New) folder
folder name taken lightly, preferably in English because I have not tried Chinese,
Options that affect the name of the folder in the right order, so I added at the beginning of a F
2. The second step
In the created folder and then create a command
folder, name not wrong, this is the start of the project directory
and the right to modify the default value for the data path cmd.exe
3, the third step
Name for the shortcut, and add an icon
in the 第一步
file created by default in the right folder, the 默认>数据
shortcut you want to change the name
and the right-blank, create a new string value, rename icon
, and then change the data location of the icon, general takes to fill 第二步
in on the line like
Done
Some notes
Some of the data is there some special format, we do not know, try elsewhere of a copy, and then change the directory might become,
do not change the tremor disorder, or else there are good to eat fruit juice