[Gambas-user] Application.Path

Fabien BODARD abidoo.too at ...11...
Wed Feb 12 23:53:43 CET 2003


Le Mercredi 12 Février 2003 22:07, Charlie a écrit :
> Salut Benoit,
>
> found a strange thing:
> if you use Application.path it depends the kind how you start the
> Executable.
>
> using X and open the folder, click to the Executable (starting in
> Terminal) + OK and
> for me /home/charlie/ga-projects/Test/ApplicationPath/ApplicationPath
>
> I have as return /home/charlie/ga-projects/Test/ApplicationPath/
>
> If I cd into /home/charlie/ga-projects/Test/ApplicationPath
> and type   ApplicationPath or ./ApplicationPath the return is a '.' (a
> Point)
>
> So Application.path is not usable!
>
> amicalement Charlie
helloo
i think it's logical no?
the '.' says you are already in the folder /ApplicationPath

test to type a 'cd .' in the console...

fabien




More information about the User mailing list