set RF_PROPERTIES="%ARCOT_HOME%\conf"
dir %RF_PROPERTIES%
if not exist %RF_PROPERTIES%
goto NO_RF_PROPERTIES
The variable ARCOT_HOME above has spaces. The dir command works and lists the files, but the if command does not work: "The command syntax is incorrect." Is there any way to make it work?
source
share