Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters in the RUN command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Parameters in the RUN command
Miscellaneous
Thread ID:
00228421
Message ID:
00228421
Views:
39
Hi,

I'm trying to use the RUN command using variables into the command line. The external program is a DOS encryption application and I'm trying to do this in VFP5. The result is bad command or file name. If I don't do the substitution it works fine. For example

pgm = 'c:\ftp\des.exe' && this is taken from the .ini file
filename = 'file.txt' && this is passed into this procedure

RUN allt(pgm) + allt(filename)

Any suggestions or solutions

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform