Syntax error near unexpected token

Hi,
When I run the below shell script I'm getting the error " syntax error near unexpected token `[eol=' "

Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM :: :
REM :: Notes :
REM ============================== set ENVIRONMENT VARIABLES

set Region=%1
set CubeType=%2
set CommonPath=\export\home\essbase\OTL_REFRESH
set EssErr=0

for /f [eol=; token=1,2,3,4,5 delims=,] %%a in [%CommonPath%\CubeList_%Region%.txt] do
if [/i %%b equ %CubeType%]
then
set Server=%%a
set CubeType=%%b
set Application=%%d
set OTL_Application=%%c
set Database=%%e
fi
done
set OTLUnLockLog=%CommonPath%\Logs\%OTL_Application%_UnLock_Object.log
REM ==========================================================
essmsh Unlock_Objects.bat %Server% %OTL_Application% %Application% %Database% %OTLUnLockLog%;

Please let me know what's wrong in this.

What Operating System and shell are you using. This looks like MSDOS.

This is a double post!