中国DOS联盟论坛

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-11-24 09:33
47,820 topics / 349,938 posts / today 0 new / 48,298 members
DOS批处理 & 脚本技术(批处理室) » How to call batch commands to implement the print function in the right-click of Word?
Printable Version  3,197 / 23
Floor16 virtual Posted 2008-11-03 18:21
社区乞丐 Posts 11 Credits -16
C:\Documents and Settings\Administrator.AMBITION\桌面\QQ.gif

This is the image
Floor17 HAT Posted 2008-11-03 19:42
版主 Posts 5,017 Credits 9,023
» HAT: Logout | Private Messages | My Topics | Control Panel | System Settings | Command Line | Members | Search | Upload | Statistics | Help

First upload, then post images.
Floor18 virtual Posted 2008-11-03 20:01
社区乞丐 Posts 11 Credits -16
The key is to use the command to call the print command in the right - click menu. If it is directly clicked with the mouse, it is a simple problem without difficulty
Floor19 virtual Posted 2008-11-03 20:19
社区乞丐 Posts 11 Credits -16
All the functions of the project are perfect, as the saying goes, all is ready except for the east wind.

Unexpectedly, I can't use the command to realize printing a specified Word document. Baidu has failed, Google has also failed, the forum has been searched, and the QQ group has been asked. After 7 consecutive days, I finally lost heart. I have to ask the experts here.
Floor20 tireless Posted 2008-11-03 20:21
银牌会员 Posts 1,122 Credits 2,025
You can see the command in the registry

It may be under this location:

HKEY_CLASSES_ROOT\docfile\shell
Floor21 virtual Posted 2008-11-03 20:55
社区乞丐 Posts 11 Credits -16
Originally posted by tireless at 2008-11-3 20:21:
You can see the command in the registry

It may be under this location:

HKEY_CLASSES_ROOT\docfile\shell



There is no such data in my registry. There's no way. It seems I need to start from the registry and find the corresponding command
Floor22 yishanju Posted 2008-11-03 21:02
银牌会员 Posts 1,357 Credits 1,488
Then use VBS senkeys to simulate manual operations
Floor23 HAT Posted 2008-11-03 21:03
版主 Posts 5,017 Credits 9,023
Don't use senkeys unless it's an absolute last resort
Floor24 lzmyst Posted 2008-11-03 21:37
新手上路 Posts 10 Credits 19
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023