In my code I usually specify the Paths in presets.bi as follows.
Code: Select all
Paths.Root = "/home/dinosaur/hmi/"
Paths.Config = Paths.Root + "control/"
Paths.Font = Paths.Root + "fonts/"
Paths.Photo = Paths.Root + "bitmaps/"
Paths.Text = Paths.Root + "text/"
Paths.Report = Paths.Root + "reports/"
Paths.Backups = Paths.Root + "safekeep/"
However it is NOT if I want to share what I have done.
I have tried a number of ways to "find" the home folder from within FB, but with no success.
Tried Shell "cd ~" and then CurDir still specifies the previous folder.
Is there a way to "find" the home folder, so that I can name my Paths.Root ??
Regards