Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run Time Parameters
Message
From
21/07/2005 10:08:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
21/07/2005 10:05:31
Robert Dinsmore
Dinsmore & Associates, Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01034634
Message ID:
01034640
Views:
22
>I want to run a VFP exe and pass two parameters to it. I created a shortcut with a target like c:\test\test.exe "parm1","parm2" -t. When it runs, an error message immediately appears: "Syntax Error".
>
>If I take out the second parameter, it runs fine. I can run the prg from the Command Window with two parameters and it runs fine.
>
>Anybody have any ideas?

Perhaps you should omit the comma?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform