Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Command.prg
Message
 
 
À
15/11/2015 14:19:18
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627460
Message ID:
01627476
Vues:
52
>>Hi all,
>>
>>Is there a way to change which _Command.prg is used at startup? I would like the one in the current folder of the project to be loaded.
>
>There are just two rules:
>- _command.prg will be created, on quit, in the justpath(set("resource", 1))
>
>- command window will be populated from _command.prg found in the "start in" folder.

Not true. It's loaded from the same location - set("resource", 1)


>
>My trick is to use the environment manager and have scripts in it to set path, resource file (love that, each project has its own MRU lists), _vfp.caption and a few more properties. However, the _command it loads is from home() - and it usually doesn't get much saved in it, it's those separate ones in project folders, but from time to time I add a few bits to it (or remove junk) so it contains what I want and mostly doesn't get overwritten with whatever junk I may produce in a day.
>
>I know this doesn't solve your problem... perhaps you could devise a launcher to start VFP in your preferred folders?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform