批量打开设备和打印机窗口?

Arb*_*tur 3 cmd controlpanel batch-file

如何打开带有或从中的Devices and printers标签?control panelbatchcommand prompt

Dav*_*hen 5

看一下CLSID密钥(GUID)列表.

使用shell,您可以执行代码以将控制面板打开到所需位置.

explorer shell:::{CLSID key number below}
Run Code Online (Sandbox Code Playgroud)

在这种情况下,您的代码将是:

explorer shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Run Code Online (Sandbox Code Playgroud)

或者:

打开控制面板 - >硬件和声音,左键单击并拖动Devices and Printers到桌面,这将创建到该位置的新快捷方式.

使用快捷方式,您可以在命令提示符或shell替代中运行它.


两种方法都做了确切的事情,在记事本中打开lnk显示了以下位置:

{ 2 6 E E 0 6 6 8 - A 0 0 A - 4 4 D 7 - 9 3 7 1 - B E B 0 6 4 C 9 8 6 8 3 } \ 2 \ : : { A 8 A 9 1 A 6 6 - 3 A 7 D - 4 4 2 4 - 8 D 2 4 - 0 4 E 1 8 0 6 9 5 C 7 A }
Run Code Online (Sandbox Code Playgroud)


小智 5

简单运行或CMD命令:

control printers
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述