Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>>>I have a problem where I need to run a program that potentially resides in a directory such c:\Program Files\blah blah\the.exe.
>>>>>>
>>>>>>I'm currently building the run command in a quoted variable and executing the run with a macro as follows:
>>>>>>
>>>>>>xCmnd = '"' + GetTheProgram() + ' ' + GetParameters() + '''
>>>>>>&& xCmnd would look like "C:\Program Files\Blah Blah\The.exe C:\Program Files\Blah Blah\AnotherFileName"
>>>>>>RUN &xCmnd
>>>>>>
>>>>>>Fail
>>>>>>
>>>>>>If, however xCmnd looked like "C:\Blah\The.exe C:\Program Files\Blah Blah\AnotherFileName" it works.
>
>did you try having xCmnd look like
>
>'run "C:\Blah Blah\name.exe" ...'?
>
>Arnon
Yes I have and gosh golly it still won't work. Thanks
Bill Wilson
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement