Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
!RUN Command Failed?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00511019
Message ID:
00511393
Vues:
16
Hi!

What about following code:

local lcRunCommand
lcRunCommand = "Run PKZ -3 -- -+ -) -O MOD.ZIP _MDCPT.DBF >NUL"
&lcRunCommand

Above code, I guess will compile and run without errors. Let me know if this helped.

As far as I know, '!' is also use as a .NOT. Operator. So avoid to use it, use Run instead.

HTH.

>I'm running a VFP6 application (compiled, not in dev mode) on a Win2K Pro machine. Everytime I run this code:
>
>!PKZ -3 -- -+ -) -O MOD.ZIP _MDCPT.DBF >NUL
>
>I get "!RUN Command Failed". I can run the exact same system (over the network) on another Win2k Pro machine, and I do not get that error. yes, PKZ is resident in the current directory, yes MOD.Zip exists, and Yes, _MDCPT.DBF is in the zip file. I've had this problem before and can usually fix it by creating a BAT file, and running that. This is a major hack, and I refuse to do it anymore. Anyone have any idea as to what's causing this problem?
>
>Oh yea, I do NOT get this error when I'm in running the code, only when it's compiled.
>
>Thanks
>
>Scott
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform