Scripts come in about two kinds for me, DOS batch files and Bash Shell Scripts on Linux and Ant scripts which are in XML format. What are scripts good for? Automation. A developer finds himself doing certain time consuming task repeatedly. This is a good sign that a script is needed. A programmer spends his life trying to turn 1,000,000,000 instructions into 1,000,000. And 1,000,000 into 100,000. And 100,000 into 1,000, and 1,000 into 100, and 100 into 10, and 10 into 1. Finally this ends up as a single mousce click. This is programming. This is scripting. I don't have much to say here so I'll refer you to the articles on Windows Shell(used to be DOS), Bash and Ant.