set eplusdir=C:\EnergyPlusV8-1-0
set currentdir=%~dp0
set idfname=Treelodge_v168_oneYear.idf
set epwfile=SGP_Singapore.486980_IWEC.epw
CD %eplusdir%
C:
::remove the file extensions .idf and .epw
RunEPlus.bat %currentdir%%idfname:~0,-4% %epwfile:~0,-4%
pause