Kevin;
What I do is to use my config file and set relative paths without hard coding drives, etc. Here is an example:
* Config.fpw
Path = Forms, classes, reports, data, menu, programs
Tom
>From time to time I take work home. There are places in my app where I have:
>
>
>SET PROCEDURE TO d:\projects\vfp1\proj folder\some.prg
>
>
>At home, my projects are on a different PC on the network, with only the drive letter
>being different. Therefore the above line of code causes an error
>
>I was considering something like the following:
>
>
>
>PROCEDURE GetDevLoc()
>
> LOCAL cRetVal
> cRetVal = SUBSTR(SYS(0), 1, AT("#", SYS(0))-1)
>
>ENDPROC
>
>
>Which I could then use:
>
>
>SET PROCEDURE TO GetDevLoc() + "\projects\vfp1\proj folder\some.prg"
>
>
>Anyone have a better idea?