General information
Title:
SET PATH in VFP 5.0 doesn't work ??
I issue the following commands in my main program
lcDefault = SYS(5) + SYS(2003)
SET DEFAULT TO (lcDefault)
CD (lcDefault)
lcPath = lcDefault + '\data'
SET PATH TO (lcPath)
When I run the program under the VFP IDE, everything works as it should.
However, when I make an EXE, move the EXE to a new directory, place a copy
of the \DATA inside the new directory, and run the EXE, the EXE works with
the original \DATA directory - not the \DATA subdirectory that is located
within the same directory as the EXE.
What am I doing wrong?
Thanx in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only