I am still studying the BUILD.bat file. Got about half way through writing a shell script version and discovered that issuing a 'wine cmd /c "buildtool"' command within the script means that you can't check error codes from the command.
I suppose I could 'grep' the build.log file.
Decided to go back to editing the BUILD.bat file. wine seems to handle the file a bit differently to DOS. I put some quotes around the header 'ECHO' statements because wine seems to parse the pipes and slashes as file descriptors and stuff. This stops all the file not found errors. Mostly the for loop construct needs to be looked at as it currently fails in 'wine cmd'. Thus the CURRENTPATH variable is not set and BUILDPATH is not made. These need setting to the correct values. For some reason the 'IF %PROJECTNAME% NEQ [] GOTO :dobuild' check before the usage info does not work either and so I had to change this. I can now make an .abs with the batch file but it bails out when checking the size of the .abs (for loop, again). I tried to run the .abs with virtual jaguar but no luck yet with it working (hmmm).