Try it out with every one of them
and you??™ll find that most commands provide some information, usually enough to jog your memory
when you need to use the command.
Writing Scripts
Scripts are the next step up in complexity. A script uses a simple programming language to accomplish
tasks. You can??™t create complex applications using a script. For example, you wouldn??™t want
to write a word processor application using a script. However, scripting languages provide more
intelligence than a batch file can. In addition, you can access some of the functionality that Windows
provides. Consequently, rather than rely on utilities for every action, you can ask Windows for
some help in automating your tasks.
A script requires a special environment to run. Windows provides this environment in the form
of a script interpreter. The interpreter reads every line of code you write in your script and performs
the task it requests. Writing scripts is a little harder than writing batch files, but not nearly as difficult
as writing an application with a full-fledged programming language. Consequently, scripts
are exactly what many people need to automate tasks when they don??™t want to learn a full-fledged
programming language, yet find batch files less robust than they??™d like.
Pages:
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133