Mike,
I'll try a longer description ;
My app trawls through a chosen folder and records which of the files therein are not used in the 3rd party application I write for.
So first time round the user chooses a folder and gets the report - he's happy.
Next time he wants to try another folder on the same 'tree' starting with the root ( found from the previously recorded folder.
As it stands he has to navigate all the way down from 'Desktop' to get to where he wants to choose the next folder.
So in my example,
the tree is
P:\My Documents\App Reports\CSV\
P:\My Documents\App Reports\LOG\
P:\My Documents\App Reports\WORD\
having got the list from the CSV folder he now wants to get it from the WORD folder ( without all the scrolling in the control that I have just written about in the other thread).
So I want to get the 'root' of the first folder as a start point
I am using an ini in which the first folder path is recorded
so I have
mysearchpath = readpwini(inifile,'read','Paths','SearchPath')
mysearchroot = ADDBS(JUSTPATH(SUBSTR(mysearchpath,1,LEN(mysearchpath)-1)))
I thought there might be a better way...
Coldan