Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Command.prg
Message
From
15/11/2015 14:19:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/11/2015 13:19:37
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627460
Message ID:
01627469
Views:
55
>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.

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?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform