Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN Command Fails
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01124388
Message ID:
01124390
Vues:
11
>I have a launcher program that contains the following line:
>
>
RUN /N 'c:\qdms 2004 LT\qdms2004LT.EXE'  && launch the QDMS2004
>
>This line blows up with the "Run Command Failed" error.
>
>If I go into Windows Explorer and navigate to the same file, and double-click on it, it launches just fine....as it does when I type the file name into the Run Dialog (Win+R).
>
>This used to work. We have moved the tables and application executable to a new Active Directory server (the launcher checks the server to see if a newer version of the app exe exists and if it does, it copies it to the local machine before issuing the run command). I have verified that the installation package is copying both the launcher and the application exe to their proper directories.
>
>Any ideas what could cause this?
>
>
>tks.

I think the problem is with the spaces in directory name. It should work since you're putting the parameter in quotes, though.

But anyway, if everything else fails, try to use ShortPath. That's how my colleague solved the similar problem (though I was opposing that and suggested using double quotes).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform