|
Home > Archive > FoxPro Help and Support > December 2005 > run command
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| hi
i used this commant
run/n SYS(5)+SYS(2003)+'\m
atnpp'+'\ganj.exe'
but i got error
what must i do
thank you
| |
| Josh Assing 2005-12-10, 11:24 am |
| use the correct quotes? (you're mixxing " and ')
You should always post "the error" you get when asking for help.
Usually; it's always best to form the run line
lcRun = sys(5)+sys(2003)+"\matnpp\ganj.exe"
! /n &lcRun
On Sat, 10 Dec 2005 02:41:02 -0800, "bijan" <bijan@discussions.microsoft.com>
wrote:
>hi
>i used this commant
>run/n SYS(5)+SYS(2003)+'\m
atnpp'+'\ganj.exe'
>but i got error
>what must i do
>thank you
--- AntiSpam/harvest ---
Remove X's to send email to me.
| |
| Rick Bean 2005-12-12, 9:24 am |
| Josh,
I agree, but remember that if sys(2003) returns a path with any embedded spaces
even this will fail. Use this instead:
! /n "&lcRun"
Rick
"Josh Assing" <Xjosh@jassing.comX> wrote in message
news:71vlp1dhrl6q6lk
hg4d41hve69hg86o498@
4ax.com...
> use the correct quotes? (you're mixxing " and ')
>
> You should always post "the error" you get when asking for help.
>
> Usually; it's always best to form the run line
>
> lcRun = sys(5)+sys(2003)+"\matnpp\ganj.exe"
>
> ! /n &lcRun
>
>
> On Sat, 10 Dec 2005 02:41:02 -0800, "bijan" <bijan@discussions.microsoft.com>
> wrote:
>
>
>
> --- AntiSpam/harvest ---
> Remove X's to send email to me.
| |
| Josh Assing 2005-12-12, 1:24 pm |
|
True rick -- "in my haste" I left the quotes out.
I actually stopped using the run command long ago in favour of findexecutable()
and shellexecute() api's instead.
On Mon, 12 Dec 2005 09:04:45 -0500, "Rick Bean" < rgbean@unrealmelange
-inc.com>
wrote:
[color=darkred]
>Josh,
>I agree, but remember that if sys(2003) returns a path with any embedded spaces
>even this will fail. Use this instead:
>
>! /n "&lcRun"
>
>Rick
>
>
>"Josh Assing" <Xjosh@jassing.comX> wrote in message
> news:71vlp1dhrl6q6lk
hg4d41hve69hg86o498@
4ax.com...
--- AntiSpam/harvest ---
Remove X's to send email to me.
|
|
|
|
|