The main issues faced between differerent platforms are the name of the executable, ways of calling it, and path separators. Relative file paths need to be expanded into full absolute paths.

parse_bat(bat.file, exe = NULL)

Arguments

bat.file

Character string path to a Zonation batch (bat) file.

exe

Character string for overriding the Zonation executable specified in the bat-file.

Value

A character string command sequence suitable for execution.