Adding Printer Port by Code in Windows 2000

I am looking for piece of code in VB, VBS or WSH to add a new printer port in windows 2000 and bind it to a known print monitor. I don't want a dialog to pop up when doing this. I used to do this easily by modifying registry in NT 4.0 and 9x but that won't work in windows 2000. Please help.
techreloadAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
aParserConnect With a Mentor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.