Since the batch value is not editable on a posted gift, it will be necessary to use the global change process to change the batch number.

Tools > System Utilities > Admin Utilities > Global Change Process
In the File to Change select Gifthistory
In the Field to Change select Batch
Leave the Old value empty and enter your batch code in the New value
In the Filter choose GiftNum and enter the from and through value
Click Replace