I have tried the following:
set SOME_PATH="C:\some_path"
start "some program" %SOME_PATH%\pathToScript\anotherBatch.bat %SOME_PATH%\pathToConfig\some.properties
My aim is to start "anotherBatch.bat"
which takes the path to a config file as an argument: %SOME_PATH%\pathToConfig\some.properties
Unfortunatley, I got an error in the new command prompt that my syntax for the file name is incorrect.
What is the right syntax for the start command above?