>I am trying to get the path of one directory up from my current path. If I issue ?FULLPATH(curdir()) then I get the following:
>
>
>H:\test1\test2\
>
>
>how can I get one directory up as follows:
>
>
>H:\test1\
>
>
>
>
>thank
>Nick
Hi Nick,
How about this ?
cDir = fullpath(curdir())
cDir = left( cDir, rat('\', cDir, 2) )
HTH
Herman