Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command Failed
Message
From
09/07/1998 12:39:02
 
 
To
09/07/1998 12:25:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00115764
Message ID:
00115799
Views:
19
>Well a batch file would work, but I'd rather not do it that way since the exestring varies each time based on user input. The app that I'm running has a configuration file that I could store the data in, but as I said it varies, and I'd have to fopen, fget, and fput frequently.. I may wind up having to do it that way, but I'd rather generate 1 string and execute it. Also do you know of a way around the 254 char max for a string?
>Thanks

Does this command work as entered in a DOS box? I thought there was a limit to the command length there. There is no practical limit to a string length in VFP, however a character FIELD can only have a max length of 254.
I think what they meant by combine into one string was to combine the whole thing into one variable (including the "run /N" stuff) and execute that.

lcExecCmd = "run /N " + otherstuff
&lcExecCmd
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform