Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 test EXE doesn't respect parameters :-(
Message
From
23/12/2013 04:24:28
 
 
To
23/12/2013 04:19:52
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01590839
Message ID:
01590857
Views:
68
>Al, I think you are right, I've just read on another post that someone mention a 240 chars limit (aprox) at command line. And what a short limit it is!
>
>One solution (ugly) I see is using a wsh file and instancing the VFP object from wsh and passing the parameters from wsh.
>
>I don't know why in hell they put this rstriction on VFP input.

Another workaround would be to write the parameters to a file, then pass the file name to the VFP EXE and have it parse the parameters out of that file.

I should also mention in your original post a couple of the parameters had doubled backslashes ("\\") but that may not be causing any problems for you, in some cases VFP and/or Windows seems to ignore the extra backslash.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform