Thank you very much !!

that works!!

>R?my Bruch wrote:
>> - I have a problem with the spaces in windows path in my xxe files. 
>> it can't find it ....
>> For example : <command name="run" parameter='"C:\Program 
>> Files\conText\conText.exe" "%D"'/> doesn't work
>> but   <command name="run" parameter='"C:\conText\conText.exe" "%D"'/>    
>> works.
>> 
>> Error is : 'C:\Program' is not recognizedas an internal or external command, 
>> operable program or batch file.
>
>---
><command name="run"
>          parameter='"C:\Program Files\conText\conText.exe" "%D"'/>
>---
>
>attemps to execute this process:
>
>---
>cmd.exe /c "C:\Program Files\conText\conText.exe" "C:\docs\mydoc.xml"
>---
>
>That is, command "run" passes its parameter string to cmd.exe after 
>substituting %D, %d, %F, %f variables and nothing else (i.e. it does not 
>interpret quotes).
>
>To our knowledge,
>
>---
>cmd.exe /c "C:\Program Files\conText\conText.exe" "C:\docs\mydoc.xml"
>---
>
>should work, but does not work (try to type the above command in a ``DOS 
>window'' and you'll have the same error message you got).
>
>We have tried this and its works:
>
>---
>cmd.exe /c ""C:\Program Files\conText\conText.exe" "C:\docs\mydoc.xml""
>---
>
>Do ask us why!
>
>Therefore
>
>---
><command name="run"
>          parameter='""C:\Program Files\conText\conText.exe" "%D""'/>
>---
>
>should work too.

= = = = = = = = = ========= = = = = = = = = = =
                        
R?my Bruch
rb at jway.lu
10/12/2004

Reply via email to