Ann said:
Confused about the two concept.
What's the difference between script and batch file.
When to use one verus another?
The main difference between a script and a batch file is when you use them.
You would normally run a batch file to do something simple, such as save an
IPCONFIG to a text file, or copy/move files. They are normally used on
client/standalone machines, and you don't have to know any special
programming language, except how to do dos commands
A script is best for server side functions, if you want to have something be
extremely customizable. They have many more functions(any command in the
windows api) but you have to use an actual programming language such as
Visual basic, C++, Java, etc. You can also set up a script to scan through
multiple computers, or an entire network, with only one script.
HTH
Nerd32768