![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 12:37 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS批处理 & 脚本技术(批处理室) » How to add a right-click menu in batch processing? |
| Printable Version 9,246 / 33 |
| Floor1 wzc02 | Posted 2006-09-26 09:32 |
| 新手上路 Posts 4 Credits 11 | |
|
Nowadays, there are many green versions of antivirus software on the Internet, which have excellent performance and support online updates. If it can be added to the right - click menu, it can greatly enhance its operability. I don't know how to write this batch processing? Hope all the experts don't begrudge giving advice~~
|
|
| Floor2 mobo | Posted 2006-09-27 10:30 |
| 初级用户 Posts 30 Credits 73 | |
|
Something can be achieved by adding something in the registry. You should first study the registry
|
|
| Floor3 3742668 | Posted 2006-09-29 02:24 |
| 荣誉版主 Posts 718 Credits 2,013 | |
|
Due to time constraints, the specific code will not be given. Here is a reg script for you to check:
Due to time constraints, it has not been tested. |
|
| Floor4 pengfei | Posted 2006-09-29 05:01 |
| 银牌会员 Posts 485 Credits 1,218 From 湖南.娄底 | |
|
The REG of moderator 3742668 seems to be for adding file associations, not adding right - click menu items.
|
|
| Floor5 3742668 | Posted 2006-09-29 06:42 |
| 荣誉版主 Posts 718 Credits 2,013 | |
『Post 4』: No investigation, no right to speak. (No investigation, no right to speak. From google:http://translate.google.com/translate_t) Although the REG script provided at noon had a small issue, missing a ] symbol, it is still useful. The tested code is as follows: Save it as Right-click.reg and import it into the registry, then right-click on it and try it. As for converting to a bat code, there have been multiple discussions in this forum. |
|
| Floor6 pengfei | Posted 2006-09-29 07:11 |
| 银牌会员 Posts 485 Credits 1,218 From 湖南.娄底 | |
|
The moderator is right. I didn't notice the asterisk at [HKEY_CLASSES_ROOT\*\shell].
|
|
| Floor7 pengfei | Posted 2006-09-29 07:29 |
| 银牌会员 Posts 485 Credits 1,218 From 湖南.娄底 | |
|
After adding the right - click menu item, the first character has an underline. Is there any way for the moderator to remove it?
|
|
| Floor8 vkill | Posted 2006-09-29 07:40 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
Hey, I'm not familiar with the registry
|
|
| Floor9 3742668 | Posted 2006-09-29 09:03 |
| 荣誉版主 Posts 718 Credits 2,013 | |
The underline is for the need of the shortcut key, but this method cannot register the shortcut key. If you feel that is not good - looking, you can use a method like to get a better visual effect. |
|
| Floor10 pengfei | Posted 2006-09-29 09:09 |
| 银牌会员 Posts 485 Credits 1,218 From 湖南.娄底 | |
| Floor11 namejm | Posted 2006-09-29 09:26 |
| 荣誉版主 Posts 1,737 Credits 5,226 From 成都 | |
|
However, that hotkey doesn't seem to work. Also, how can I make the underline not show up? Does it mean I can only change the position of the underline instead of deleting it?
|
|
| Floor12 pengfei | Posted 2006-09-29 09:31 |
| 银牌会员 Posts 485 Credits 1,218 From 湖南.娄底 | |
|
Upon closer inspection, it was noticed that other right - click menu items all had underlines. The shortcut key is: when the mouse is placed on a file and the menu appears, press Ctrl + the shortcut key...
Just now, it was discovered that the & character originally defines the shortcut key. [ Last edited by pengfei on 2006-9-29 at 09:42 ] |
|
| Floor13 namejm | Posted 2006-09-29 09:34 |
| 荣誉版主 Posts 1,737 Credits 5,226 From 成都 | |
Originally posted by pengfei at 2006-9-29 09:31: Hehe, that's not the case. Try installing ACDSee. The item "Browse with ACDSee" doesn't have an underline. The same phenomenon occurs in Norton Corporate Edition 10, specifically the "Scan Virus..." item. |
|
| Floor14 fastslz | Posted 2006-09-30 06:18 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
For antivirus software, simply associating with .exe is just opening the program. Taking Kaspersky as an example, it needs to associate with shellex.dll and start related services.
|
|
| Floor15 fastslz | Posted 2006-09-30 06:29 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
Originally posted by namejm at 2006-9-29 09:34: For browsing software like ACDSee, it should be added to the folder right-click, as follows: Browse with WinRAR |
|
| 1 2 3 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |