"Printers and Faxes", command line or script to open?

T

Trygve Lorentzen

Hello,

I a command line command or script to open up the Printers and Faxes window
in Windows (2000/XP etc). This command/script will be called from a C++
program. Anyone?

Best regards,
Trygve Lorentzen
 
G

Guest

I don't know of any ways but you can look in C:\Windows\System32 and look for
Control Panel Extension files. Double click them and see what opens what in
the control panel.
 
A

Ayush

Trygve Lorentzen wrote ::
Hello,

I a command line command or script to open up the Printers and Faxes window
in Windows (2000/XP etc). This command/script will be called from a C++
program. Anyone?

Best regards,
Trygve Lorentzen

Run this(you can test this in Start-Run)-
::{2227A280-3AEA-1069-A2DE-08002B30309D}

it should open Printers and Faxes window.



Good Luck, Ayush.
 
R

Ramesh, MS-MVP

"Control Printers"
or
explorer.exe ::{2227A280-3AEA-1069-A2DE-08002B30309D}

See also:

ShellExecute: ShellExecute Madness
http://vbnet.mvps.org/index.html?code/shell/shellexecute.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Trygve Lorentzen" <trygveloAThaldenDOTnet> wrote in message Hello,

I a command line command or script to open up the Printers and Faxes window
in Windows (2000/XP etc). This command/script will be called from a C++
program. Anyone?

Best regards,
Trygve Lorentzen
 
T

Trygve Lorentzen

A million THANKS!

Exactly what I needed.

"Control Printers"
or
explorer.exe ::{2227A280-3AEA-1069-A2DE-08002B30309D}

See also:

ShellExecute: ShellExecute Madness
http://vbnet.mvps.org/index.html?code/shell/shellexecute.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Trygve Lorentzen" <trygveloAThaldenDOTnet> wrote in message
Hello,

I a command line command or script to open up the Printers and Faxes window
in Windows (2000/XP etc). This command/script will be called from a C++
program. Anyone?

Best regards,
Trygve Lorentzen
 
R

Ramesh, MS-MVP

You're welcome!

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Trygve Lorentzen" <trygveloAThaldenDOTnet> wrote in message A million THANKS!

Exactly what I needed.

"Control Printers"
or
explorer.exe ::{2227A280-3AEA-1069-A2DE-08002B30309D}

See also:

ShellExecute: ShellExecute Madness
http://vbnet.mvps.org/index.html?code/shell/shellexecute.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Trygve Lorentzen" <trygveloAThaldenDOTnet> wrote in message
Hello,

I a command line command or script to open up the Printers and Faxes window
in Windows (2000/XP etc). This command/script will be called from a C++
program. Anyone?

Best regards,
Trygve Lorentzen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top