Hi Hemant,
From the VFP Help file
When you start Visual FoxPro you can use a default configuration file in the following locations (in order):
The current working directory.
The directory where Visual FoxPro is installed.
The directories listed in the DOS path.I would suggest storing the config.fpw in the startup directory and setting the temp and sort directory locations to something like C:\Temp.
I respectfully disagree with Mazahir on compiling the config.fpw into the executable because if you decide to change any settings in the config.fpw you'll need to recompile. Leave it as a stand-alone file and any modifications will take effect upon next start-up.
Regards,
Liam
>Thank you Liam, I have read the documentation of Config.fpw. But I don't know whether it will help me..! Becasue I am using an .exe file of VFP. I am my startup directory is same as data directory where tables are kept with indexes. Every thing is same. I can set local directory as temporory work space directory. But where to keep this config.fpw? Should I put config.fpw in start up directory. or Should I put config.fpw on each PC connected to the application(.exe) machine?
>
>Kindly Reply.
Liam O'Hagan
MCP VFP Desktop Apps