windows - Batch file not working: Spaces in path -
set rf_properties="%arcot_home%\conf" dir %rf_properties% if not exist %rf_properties% goto no_rf_properties the arcot_home variable above has spaces. dir command works , lists files, if command fails "the syntax of command incorrect.". there way make work?
try way round:
set rf_properties=%arcot_home%\conf dir "%rf_properties%" if not exist "%rf_properties%" goto no_rf_properties
Comments
Post a Comment