batch file for invoking rotate