Update porting/apply_srg.bat

this update should make it work for people by fixing some large syntax errors