edit bat