>>I am working on a small app that is to reside on a network. When the user runs the app, they select the types of information they need and based on this various tables and other files are to be copied to a directory on the users local drive. How do I determine what the local drive letter is?
>
>Which one? There can be more than one, and the user should be asked which to use IAC. The DriveType() function should let you test the drive type easily; it is part of VFP6, and was part of FoxTools before that.
This was my thought exactly. I couldn't just assuime C:. George directed me to the DRIVETYPE() function and using it and the DIRECTORY() function in a loop (because a certain directory has to exist) solved the problem. Thanks.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.