change bat to run on win7/win8
adjust batch files to make processing more portable
resolve conflicts in batch files