Hi Razzak I used the code below and it still starts in cms65 and I have started RBW 3 times in cms75.
If I start RBW in RBTI\RBG75 and run the code it still shows cms65, very strange! Then I browsed to cms7, ran the code, cms65 still comes up. I think my computer just likes the cms65 dir. This is not a big deal, please don't spend too much time on it. I want to use this do my users can check the date of the backup files, since most of them can't find My Computer. I can just set the initial dir and that will not be a problem unless they load my app on a drive other than C. If my monitor starts spinning I will call for help ASAP.<g> Thanks Marc ----- Original Message ----- From: "A. Razzak Memon" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Tuesday, November 01, 2005 2:34 PM Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl > At 02:58 PM 11/1/2005, Marc Schluter wrote: > > > >It seems that it is finding the first folder where > >the first 3 letters match. (I am in cms75 dir) > > > >Or I am going nuts. I very real possibility! > > > Marc, > > Without knowing all details of your operating system, > your database character settings, etc., to move on, > in your specific situation, try the following code: > > -- start > CLEAR VAR vCurrentDir,vFileName > SET VAR vCurrentDir TEXT = (CVAL('CURRDIR')) > SET VAR vFileName TEXT = NULL > CLS > PLUGINS LoadFileNamePlus.RBL 'vFileName + > |FULLPATH OFF + > |TITLE Select File + > |VIEW_MODE DETAILS + > |FILTER All Files (*.*)#*.* + > |INITIAL_DIR .vCurrentDir + > |MULTISELECT OFF + > |SHOW_HIDDEN OFF + > |NO_LONG_NAMES OFF + > |OLD_STYLE OFF + > |NO_NETWORK_BUTTON OFF + > |HIDE_READ_ONLY ON' > CLEAR VAR vCurrentDir,vFileName > RETURN > -- end > > That way, you'll always start in the current directory. > > Enjoy! > > Very Best R:egards, > > Razzak. > >
