I have to write some batch files and haven't a clue.
Do any of you lot know of any decent tutorials out there ?
Printable View
I have to write some batch files and haven't a clue.
Do any of you lot know of any decent tutorials out there ?
I usually turn to google to find what I need. I found this in a quick search:
http://gearbox.maem.umr.edu/batch/batchtoc.htm
A batch script is just a list of DOS commands executed one line after another. Error messages are not very helpful and the syntax is strange. Plus you have to use goto for program flow control :rolleyes:
Here's a batch script I use to start Firefox:
Code:@echo off
set ffpath=M:\Mozilla\firefox\firefox.exe
set profile=M:\Mozilla\profile
start %ffpath% -profile %profile% %1 %2 %3