| |

VerySource

 Forgot password?
 Register
Search
View: 2636|Reply: 16

How to add a shortcut to my program in the right-click menu of a file

[Copy link]

4

Threads

20

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-1-23 22:40:01
| Show all posts |Read mode
For example, UE, after installing UE, right-click on each file, you will see an item in the menu "Open with UE"
I would like to ask what to do under BCB? Is it to modify the registry
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-2-8 15:45:02
| Show all posts
For example, add an execution call on a file with the avi extension
----------------------------------------------
[HKEY_CLASSES_ROOT\.avi]
@ = "mkvfile"

[HKEY_CLASSES_ROOT\mkvfile\shell\opens with my program]

[HKEY_CLASSES_ROOT\mkvfile\shell\Open\command with my program]
@ = "\" E:\\Multimedia\\MPlayerCommandline.bat\"\"% 1\""
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-2-8 16:30:01
| Show all posts
For example, add an execute call on a file with the extension mkv

Change it
[HKEY_CLASSES_ROOT\.mkv]
@ = "mkvfile"

[HKEY_CLASSES_ROOT\mkvfile\shell\opens with my program]

[HKEY_CLASSES_ROOT\mkvfile\shell\Open\command with my program]
@ = "\" E:\\RunMPlayerCommandline.bat\"\"% 1\""
Reply

Use magic Report

4

Threads

20

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

 Author| Post time: 2020-2-11 10:30:01
| Show all posts
Not to associate a certain file, but to each file, no matter what file, as long as you right-click the menu, there is this item in the menu item
Reply

Use magic Report

0

Threads

45

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-2-12 01:00:01
| Show all posts
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\*\\shell]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\*\\shell\\Wutengfei.com] @ =\"open this file\" [HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\*\\shell\\Wutengfei.com\\command] @ =\"program .exe\\\"% 1\\\"\"
Reply

Use magic Report

4

Threads

20

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

 Author| Post time: 2020-4-14 09:15:01
| Show all posts
Is that true?
Last time I do n’t know who listened to what, what is SHELL extended programming
Reply

Use magic Report

0

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-5 21:00:01
| Show all posts
Haha~~~ Don't be so overbearing, you can associate any file, can any file be opened with such a program?
Reply

Use magic Report

4

Threads

20

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

 Author| Post time: 2020-6-8 10:15:01
| Show all posts
Don't need to associate, just say to add an option on the right-click menu, just like the TXT file is associated with the Notepad program, but I can also choose to open with UE when right-clicking the menu, that's what it means
Reply

Use magic Report

0

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-8 19:00:01
| Show all posts
Oh, then I understand, it seems that UE is related to the registry. The "SHELL extended programming" you said before seems to have been heard. It is your program that monitors the right-click action in the system when it is running. Add such a key?
Reply

Use magic Report

0

Threads

7

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-6-19 20:30:01
| Show all posts
mark it
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list