Paradox Community

Items in pnews.paradox-programming

Subject:Re: SetDir()
Date:Thu, 15 Apr 2021 15:56:12 -0500
From:Mark Bannister <markRemove@THISinjection-moldings.com>
Newsgroups:pnews.paradox-programming
gtaliaspath() ?

On 4/15/2021 4:44 PM, Peter wrote:
> var
> fsy             filesystem
> strCurrentDirectory    string
> endvar
> 
> 1) strCurrentDirectory = fsy.getDir()
> 2) fsy. SetDir(:PRIV:)
> 3) fsy.findFirst("file1")
> 4) fsy.SetDir(strCurrentDirectory) ;//doesn't work
> 
> #4 doesn't work because getdir() returns the string with single "\"
> 
> So what I wuld like to do is capture the current alias. How do I do 
> that? Thank you for any help.
> 
> 
> Peter

-- 
Mark Bannister


Copyright © 2004 thedbcommunity.com