Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

How to insert hyperlink to Add Printer Wizard in Windows XP

Jan 31, 2012 8:15AM PST

Hello,

I attempted to insert the following hyperlink inside a webpage, but it didn't work:

rundll32.exe SHELL32.DLL,SHHelpShortcuts_RunDLL AddPrinter

However, it did work when I pasted it in the Run box, and it opened the Add Printer Wizard in Windows XP.

Discussion is locked

- Collapse -
Answer
Sounds proper. Long ago...
Jan 31, 2012 11:14AM PST

Long ago MSFT figured out that it was a very bad idea to run commands from the web browser. It may no longer be possible to do this.
Bob

- Collapse -
That's not what I mean...
Feb 1, 2012 6:45AM PST

I'm talking about putting the hyperlink inside the webpage, not pasting it in the Address Bar.

- Collapse -
I've never seen
Feb 1, 2012 6:56AM PST

a web page that calls up Windows Apps and wizards like that. Can you give some examples where you've seen this?

All I can think of is some code that calls up Command.exe, inputs the command and runs it, but then those would be considered dangerous as that would be the back door for malware writers to gain access to the OS. I'm sure modern Windows' OSes would prevent that with UAC if the anti-virus scanner doesn't pick it up first.

Mark

- Collapse -
It's something that is not supported and now blocked.
Feb 1, 2012 7:05AM PST