Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Command.prg
Message
From
15/11/2015 13:41:28
 
 
To
15/11/2015 13:26:16
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
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:
01627465
Views:
59
>>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.
>
>AFAIR command/link line and afterwards config.fpw is the order searched for entry. Current project and subsequently its folder probably not known then, but a general prg could establish current project and eval() a dynamically created line pointing to that file

OK, perhaps a bit more clarification on my part is needed.

I have VFP.exe (and other needed parts) on a Flash Drive. I can plug my Flash Drive into any computer and launch VFP. But when it starts, it loads (or creates new) a resource file in the users AppData\roaming\ folder. I have tried placing a Config.FPW file in the VFP folder, with RESOURCE = command to .\FoxUser.dbf but I cannot seem to get VFP.EXE -C.\config.fpw to load the correct resource file and _Command.prg located on my flash drive.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform