Command-Line Utilities for Managing Shared Resources

Some users prefer a terse command prompt to a wizard or even an MMC window. If you’re in that group, you’ll want to use Net.exe for managing resource sharing. With these commands, you can create batch programs to automate some network sharing tasks.

In the following sections, we describe only the most common Net commands (and their most common parameters) for managing network connections. This isn’t an exhaustive reference, however. You can get more information from online help or by typing net help command, replacing command with the word that follows net in the examples. For instance, to get more information about the Net Use command, type net help use. This provides more help than typing ...

Get Windows Vista™ Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.