• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 22. Using a Windows 2000 Network > Managing Network Resources Using the...

Managing Network Resources Using the Command Line

If you find yourself repeating certain network and file operations over and over, day after day, it makes sense to try to automate the processes. You might get so used to the graphical interface that you forget the command line, but it's still there, and you can perform drive mappings and printer selections with the command line almost as easily as from the GUI. Batch files, which were so familiar in the old DOS days, are still around and are a great way to perform repetitive tasks.

I use batch files to perform simple computer-to-computer backups of important files. Let's say I want to back up the folder c:\ book on my computer to a shared folder of the same name on another computer named abalone. Here's what a batch file to do this might look like:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint