Update porting/apply_srg.bat

this update should make it work for people by fixing some large syntax errors
Merge pull request #298 from mrfrase3/patch-1

Update porting/apply_srg.bat