certain tasks easier.
What do batch files do? Well, they are pre-recorded sets of instructions that you tell your DOS or Windows machine to do. So instead of type several things like:
MOVE *.* D:
You would have one "Batch" file to bunch all those things into a batch job. Its what other programs may call macros or scripts.
Here's a simple batch file that I use to unclutter my Computer Desktop folder, below is the content, so copy and paste it into a text file and name it unclutter.bat if you would like to use it.
REM This batch file helps to unclutter and clean up your windows desktop
move "%HOMEPATH%\Desktop\*.*" "%HOMEPATH%\Desktop\Unclutter"
Here are some resources I've found on Batch files: