Skip to Main Content
Windows® XP Under the Hood
book

Windows® XP Under the Hood

by Brian Knittel
July 2002
Intermediate to advanced content levelIntermediate to advanced
736 pages
16h 43m
English
Que
Content preview from Windows® XP Under the Hood

Chapter 5. Network and Printer Objects

ROAD MAP

  • This chapter shows how to use the WScript.Network object to control mapped network drives and network printer connections.

  • You should be comfortable with the material in Chapter 3, “Scripting and Objects,” before reading this chapter.

  • You can use WScript.Network to control printing from DOS applications as well as Windows applications.

  • The last section shows how you can send output from a script directly to a printer; this is especially useful with scripts that you run unattended from the Task Scheduler.

Managing Network and Printer Connections

Windows Script Host programs can query and manage your computer's network and printer connections. You might want to do this for several reasons, such as the following: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Windows® 2000 Scripting Guide

Microsoft® Windows® 2000 Scripting Guide

Microsoft Corporation

Publisher Resources

ISBN: 0789727331Purchase book