Subject: | Re: SetDir()
| Date: | Thu, 15 Apr 2021 20:51:20 -0400
| From: | "Steven Green" <greens@diamondsg.com>
| Newsgroups: | pnews.paradox-programming
|
enumAliasNames() ??
--
Steven Green
Myrtle Beach, South Carolina, USA
http://www.OasisTradingPost.com
Collectibles and Memorabilia
Vintage Lego Sets and Parts
- and Paradox support, too
"Peter" wrote in message news:6078b204$1@pnews.thedbcommunity.com...
from help files
getaliaspath(const aliasname String) String
"aliasname" is what I don't know, how do I find the current alias?
On 4/15/21 1:56 p.m., Mark Bannister wrote:
> 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
>
|