Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force exe to read config file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01000276
Message ID:
01000285
Vues:
19
>Hello All, I'm in the process of writing an app that sole job is to launch a suite of other apps ( all VFP exe's on the same machine ), the route I've gone is to store the app's ( the ones I want to launch ) path, and any parameters, in a table, the problem I'm experiencing is, the exes I'm trying to launch are not reading their respective config.fpw file ( which contain vastly different settings ), is there a way of forcing this behaviour ?. I thought if I cd'd to the runtime folder of the app, and issued a "do my1.exe" VFP would read the config file but it apparently doesn't, any help much...

You can use -C command line switch.
myapp1.exe -CD:\myapp1Folder\Config.fpw
It also doesn't have to be config.fpw. You can name them with application name. For example myapp1.fpq for myapp1.exe.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform