Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command long file name
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Run command long file name
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01148006
Message ID:
01148006
Views:
64
I want to run a program called newbie, with a script call americanbulls. I can do this
in WinXP start, run, then use the following

"c:\program files\newbie\newbie.exe" +/login mylogin /password mypass /script "americanbulls.nbl" /exec ie /windowstate 0

Then the program works fine. But I can't figure out how to do the same in foxpo.
I have tried this:

pr = "c:\Program Files\Newbie\newbie.exe "
ps = "/login admin /password asdfasdf"
sc = '/script "americanbulls.nbl" /exec ie /windowstate 0'
tg = (pr) + (ps) + (sc)
RUN &tg

A dos box appears, but the program does not run. Does doesanyone know how to do this?
Thanks
Steve
Next
Reply
Map
View

Click here to load this message in the networking platform