>I've got a VFP executable program that, while executing, needs to know its own drive and directory. I may be missing something obvious, but I tried to use FULLPATH() within the executable program itself and instead of getting the drive and directory path of the executable, I get the drive and directory path where the program was started. Is there another way to find out the full path of the program that is executing?
lcAppFullName = SYS(16,1)
lcAppPath = JustPath(lcAppFullName)
--sb--