Hi Paul,
the file _command.prg will contains the commands history and VFP places it in the same folder as foxuser.dbf / fpt.
Don't delete it and retry!
Gianni
On Tue, 20 Jun 2017 10:20:29 -0500, "Paul H. Tarver" paul@tpcqpc.com wrote:
I tried the .prg route before, but I re-did it based on your recommendation just in case I did something wrong.
Here's what I have set up now:
start-vfp9x64.FPW file: ************************************************************* TMPFILES=c:\temp EDITWORK=c:\temp SORTWORK=c:\temp PROGWORK=c:\temp
PATH = .\DATA; .\FORMS; .\GRAPHICS; .\LIBS; .\MENUS; .\PROGRAMS; .\REPORTS; T:\LIBRARY
DEFAULT = "T:\ACTIVE\TPM " RESOURCE = "T:\ ACTIVE\TPM \FOXUSER.DBF" COMMAND = do "T:\ ACTIVE\TPM \start-vfp9x64.prg" *************************************************************
start-vfp9x64.prg ************************************************************* CLEAR MEMORY CLOSE DATA CLEAR ALL CLOSE ALL SET SYSMENU TO DEFAULT
CD " T:\ ACTIVE\TPM" MODIFY PROJECT trnslate.pjx NOWAIT ACTIVATE WINDOW COMMAND *************************************************************
When I start VFP from the shortcut, the .FPW is processed and the .PRG is run, the project manager opens with the correct project, a blank command window opens and I cannot type in the command window because every keystroke is passed directly to the project manager. Once I close the blank command window, I can open a new command window and everything works normally. Same results that I get if I issue the MODIFY PROJECT command directly from the .FPW.
Interestingly, if I open VFP in the folder and I type 'do start-vfp9x64.prg' in the command window, the project manager opens normally with the correct project info and goes immediately back to the regular command window ready for my next input. In other words, it looks like the problem may be in the .FPW file. So, I went back to the .FPW file and removed everything except the PATH and COMMAND lines. Same result. I also noticed that when I close the blank command window and file named _command.prg is created in the project folder.