O'Reilly logo

Administering: Windows Server® 2008 Server Core by John Paul Mueller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Editing and Compiling Batch Files and Scripts

Any full automation effort at the command line will likely require batch files and scripts. You can use any technique that you want to write the batch file or script. For example, you can use the simple command Copy CON: C:MyBatch.BAT and press Enter to start an editing session right there at the command prompt. The "Modifying Data Files with the Edit Utility" section of Chapter 5 demonstrates how you can use the Edit utility to perform batch and script file editing as well. If the batch file is small and simple enough, either of these environments may be all that you need.

Most batch files and scripts aren't small, however, so most people use an editor of some kind. In fact, Notepad is one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required