Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repetitive Navigation 1

Status
Not open for further replies.

Shanachie

Programmer
Jun 18, 2000
92
US
I find it annoying to have to navigate to my project directory every time I fire up VFP6. I don't want to keep the project files in the default directory. Is there a way to record the navigation to just go there? Or to reset the default directory?

It's the little things that drive you over the edge.

Shanachie
 
You can call a startup file from a config.fpw file.

Make a desktop shortcut and put in the command line:

<VFP.exe file> - C <config.fpw file>
*- Remember to use the full paths

For instance:

&quot;c:\VStudio60\VFP\VFP.EXE&quot; -C &quot;d:\MyProject\config.fpw&quot;

In your config.fpw you can put:

DO MyStartupFile.PRG && in which you set your startup directories etc.

Your startup file could look like:

SET DEFAULT TO D:\MyStartupDir
*- Relative subdirectories of the project
lcPath = &quot;libs\,progs\, reports\, include\&quot;
SET PATH TO &lcPath


HTH,
Weedz (Edward W.F. Veld)
My private project:Download the CrownBase source code !!
 
Even easier would simply be to set the &quot;Start in&quot; folder on the shortcut itself to your project directory.
 
Hi shanachie,

Click on VFP menus TOOLS->OPTIONS->->FILE LOCATIONS-->Default Directory and change that to the directory you want. Set that as default till you want to change that to another new project.

Next time you start, the project opening will stay at your desired directory.

Hope this helps you :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Thanks, Ramani, that did what I wanted done.

Thanks to all.
Shanachie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top