I'm using dm Server 2.0, and I'm experimenting with running multiple instances. When I use the -configDir option on Windows, the startup script fails with a syntax error:
Has anyone seen similar issues?
C:\dmserver>bin\startup.bat -configDir config_demo
The syntax of the command is incorrect.
Digging deeper into the problem, it seems that bin\dmk.bat is the culprit; more precisely, the following line (around line #104 or so) bails out:
Startup proceeds beyond this point if I change the line to
if "%CONFIG_DIR:-1%"=="\" set CONFIG_DIR=%CONFIG_DIR:~-1%
(Note the extra tilde.)
if "%CONFIG_DIR:~-1%"=="\" set CONFIG_DIR=%CONFIG_DIR:~-1%