BCB2006 problems

2006-01-12 11:37:36 PM
I have BCB 2006 with Sp1 installed.
I had a need to call batch file with full path to project file from IDE
so I decided to install it in Tools menu.
Unfortunately I discovered that parameters with space in it passed to
tool application are not being quoted hence from one parameter I have 2
or more.
Putting "" around $PROJECT does not help since than $PROJECT is being
passed as ordinary text. Is there a way to quote MACRO when being passed
to batch file?