Possibly, although I would have thought that enclosing the path in quotation
marks would overcome that problem.

Kerry Sainsbury wrote:

> Because "-" indicates a new switch to DOS?
>
> --- John Mason <[EMAIL PROTECTED]> wrote:
> > We had a similar problem with a shortcut to an Access database. The
> > directory
> > name contained a hyphen, and the shortcut would not work until (in
> > desperation) we put two spaces between the directory name (contained
> > in
> > quotation marks) and the rest of the command line.
> >
> > John Mason
> > Kingston Morrison
> >
> >
> > Carl Reynolds wrote:
> >
> > > Ok, now I'm really confused!   How come
> > >
> > > ExecuteApplication('.', 'DosExec.bat', 'C:\ pcli ListVersionedFiles
> > > -pr"G:\PVCS\Projects" -aw "/General Library - Delphi 4/CubeView"');
> > >
> > > works, but
> > >
> > > ExecuteApplication('.', 'DosExec.bat', 'C:\ pcli ListVersionedFiles
> > > -pr"G:\PVCS\Projects" -aw "/General Library - Delphi 4/CubeView"');
> > >
> > > doesn't?  Ie. in the second case, the batch file doesn't even get
> > run?
>
> _______________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com.au address at http://mail.yahoo.com.au
>
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz

--

John Mason
Kingston Morrison


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to