AVID-GIS is a command-line version of DIVA-GIS. Functionality is still limited. Download it here.
You can run the AVID-GIS program in the following ways:
Open a DOS window, go to the folder where you have saved AVID.EXE and type AVID. Alternatively go to any other folder and type the full path name to AVID.EXE, e.g. c:\software\avid-gis\avid
Now type commands within the AVID console. E.g.,
avid> cut grid c:\data\input c:\data\output rowcol 0 0 10 10
If you have never used DOS this may be a bit hard. Perhaps the "Sample session" below can help to find your way.
Open a DOS window and type avid followed by some arguments. The program will run and close when it is done e.g.,
C:\gis\ avid cut grid c:\data\input c:\data\output rowcol 0 0 10 10
Use a batch file; i.e. as above but with the the command(s) in a batch file (text file with .bat extension), and run that (e.g., by clicking on it in the Windows Explorer)
Use an AVID script file. This is a text file with a .dsc extension. Such a script can be executed by typing its name in the AVID console (as described under 1), or by passing it as an argument (as described under 2) e.g., avid myscript.dsc (or in a batch file as described under 3).
A sample session
C:\Documents and Settings\yourname\ cd giswork
avid> distmodel bioclim c:\oz\biostack c:\oz\points predicteddist
avid> makebitmap predicteddist
To find out what commands are available, type commands or ? or help.
To find out what the syntax of a command is, type that command without arguments.
Documentation for the commands is sparse, but functionality can be inferred from DIVA-GIS and its manual.
Filenames with spaces should be typed within brackets. E.g. [c:\my data files\elevation.grd]