AndrewMozley
Programmer
I have created an .exe file, myapp.exe, and it has been installed into the user’s designated folder, which might well be C:\Program files\ANM\myApplication.
The user has his application data in folder (say) c:\users\john, and there is a shortcut on the desktop which starts myapp.exe (from the program files folder) and runs it in the users\john folder
There are however other interesting files in the . . . ANM\myApplication folder, and I want to be able to refer to these files, both reading from and writing to them, under suitable program control.
How can I refer to this folder within myapp? I have tried to check this out by putting some Messagebox() instructions into the startup code of myapp, and observe these values.
CURDIR()…………\users\john
HOME()……………C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED \VFPDEFAULT()………C:
Thanks. Andrew