>i have been going through the VFP directory related commands i seem to be missing one. say a user create a folder c:\xyz and puts my vfp 8 .exe file in that folder. the first thing i want to do in the .exe is set the current directory to that directory. how do i do that when i have no idea what the name of the directory is?
>
>thanks,
>
>nancy
Many ways. ie:
set default to (justpath(Application.ServerName))
If users simply create a shortcut from it or directly dblclick it you dont even need to have a line. Then it'd be the default already.
Cetin