If you use a series of commands frequently or you must enter many commands to complete a task, you can automate the task with a script or batch file. Both are text files.
A script file (.cbs extension) contains Integration Services Shell commands. You can run a script file from the operating system command line or from within an operating system batch file.
On Windows platforms, a batch file (.bat extension) is an operating system file that calls multiple Integration Services Shell scripts and is used to run multiple sessions of Integration Services Shell commands. You can run a batch file on the server from the operating system prompt.
On UNIX, shell scripts are used in place of batch or script files.
When you run a script file, Integration Services Shell executes the commands in the order specified in the script until the program reaches the end of the file.