Augusto,
Normally you want to soft-code the drive letter and the base
subdirectory. One method of doing this is using a Win.Ini file.
You read from the start-up directory and then set a property
if your application object to specify the base path.
Then you could
SET PATH TO (oApp.PathTemp)
or
USE (oApp.PathTemp + [
])
-myron kirby-
myronk@flash.net
--------------------------------------------------------------------
>Hi all
>
>When i create an application i start to run it usin a program
>MAIN.PRG.
>i this program i use a line like this below(to search the files)
>
>set path to C :\TABLES ;\ROUTINES :\ETC :
>
>but wath happend when a user urun the program from some unit like d:
>or G: (or wathever) it appear an error in the application.
>
>what is the better Tip to path the rute of the files to take that any user run it whatever her unit?
>
>
>thanks