Prev | Current Page 405 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

A script also provides an essential that a batch file can??™t??”a nice user interface.
Although batch files work just fine for experienced users and administrators, they aren??™t a
very good choice for novice users. The scripting techniques demonstrated in Chapter 6 help you
improve the command line experience for everyone, even??”with the proper additions??”novice users.
Chapter 6
Working with Scripts
The batch files described in Chapter 5 do provide a reasonable amount of flexibility and they??™re
very easy to produce. However, batch files aren??™t the same as using an actual programming language.
Scripts provide a happy medium between the complexity of a full-fledged programming
language that you can compile into an executable and the ease of using batch files. You gain access
to more of the system functionality through scripts and have better access to programming constructs,
such as flow control. Error trapping is also better with scripts. In fact, you??™ll be amazed at
what scripts can do. People have even developed games in them and most of the Web pages on the
Internet rely on scripts to perform tasks in the background.
This chapter isn??™t going to make you a scripting guru.


Pages:
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417