Subject: | SetDir()
| Date: | Thu, 15 Apr 2021 13:44:45 -0800
| From: | Peter <peterspammenot@whiteknight.email>
| Newsgroups: | pnews.paradox-programming
|
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
|