In this forum, 95/98. scripts are basically BATCH files.
You need to start by looking up BATCH HELP on Google for training and starters.
A BATCH file is just, sort of, a recording of typed commands that can be re-used over and over.
They need to be on the DOS PATH (more google lookups) to be in the 'environment' and then they may be used from any place on the computer (any folder).
AUTOEXEC.BAT is the famous one, the one that runs on startup.
If you are starting with DOS commands and batch files, Command Line Interpreters, a CLI, you definitely need to introduce a line into AUTOEXEC.BAT that says
DOSKEY /INSERT
Which allows you to type and retype easily commands in a DOS window.
Finally many DOS commands have built in helps, type the command and then /? as in
DIR /?
for a list of options.
With scripts you can get a complex task done once, and then
- Send it to others
- Use it any time
which is a huge advantage CLIs have over GUIs, while GUIs have different advantages.
There are other scripting environments and knowledge of one is a great help for others.
The DOS CLI is very primitive but not a bad place to start because of its ubiquity, almost any local techy can help.