In many operating systems, it is possible to issue system commands by making use of a Command Line Interface. For example DOS and Windows has a 'DOS Command' box (See All Programs -> Accessories -> Command Prompt) and Linux has its 'shell' commands.
This is all well and good, but it can get very tedious typing in the same set of command every time you want to do some repetitive task. This is where scripts come in:
A script is a text file that allows you list each command. When the script is run, the commands are issued to the operating system one line at a time.
Example, a DOS 'batch' file script could have the following commands:-
This script will go to drive D: and then down into the folder called 'Mystuff'. It will then list all the files in that folder.
Scripts are often used to carry out tasks such as backups, defragmenting, renaming files and folders and so on.
In Windows, Microsoft developed 'vbscript' that allows you to write Windows commands. VBscript files have the extension .vbs
Challenge see if you can find out one extra fact on this topic that we haven't already told you
Click on this link: Script