[Gambas-user] Gambas script gbs Application.Path Args[0]

Bruce Steers bsteers4 at gmail.com
Sun Nov 1 20:16:05 CET 2020


Sorry i meant the directory the script was launched from like Args[0] and
Application.Path would produce.
I want to access files in the App dir like a gambas executable can.

I used the word "working" there by mistake but thank you knowing .Dir works
as normal is useful :)
Cheers

BruceS


On Sun, 1 Nov 2020 at 18:52, Martin <mbelmonte at belmotek.net> wrote:

> Print Application.Dir
> On 1/11/20 19:24, Bruce Steers wrote:
>
>
> Is there a way to get a gambas scripts working directory ?
>
> Application.Path and Args[0] just give the temporary /tmp/gambas-1000
> location
>
> tia
> BruceS
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201101/24b200ae/attachment.htm>


More information about the User mailing list