[Gambas-user] Copy file from project

Jorge Carrión shordi at gmail.com
Fri Mar 16 12:22:15 CET 2018


You are right. It way just that I doesn't use the ./ in relative paths...

Best Regards


2018-03-16 12:17 GMT+01:00 Gianluigi <bagonergi at gmail.com>:

> Hi Jorge,
> thinking back to what you suggested to me; I believe that after compiled
> only  the relative paths work, and AFAIK "./" is a relative path.
>
> Regards
> Gianluigi
>
> 2018-03-16 11:24 GMT+01:00 Gianluigi <bagonergi at gmail.com>:
>
>> Hi Jorge,
>> thanks for the attention, unfortunately the suggestion does not work.
>>
>> Regards
>> Gianluigi
>>
>> 2018-03-16 11:08 GMT+01:00 Jorge Carrión <shordi at gmail.com>:
>>
>>> Try this:
>>>
>>> sPath1="image"
>>>
>>> without beginning with dot (./)
>>>
>>> When you set the ./ you are mentioning the working directory of the
>>> project, that isn't the same in executable that in IDE.
>>>
>>> Hope It works.
>>>
>>> Best regards
>>>
>>> 2018-03-16 10:00 GMT+01:00 Gianluigi <bagonergi at gmail.com>:
>>>
>>>> Am I not able to understand or is there something that does not work?
>>>> Attached two projects that, if launched by the IDE, work and that is
>>>> copying all images and subfolders in "/tmp".
>>>> But if I work with executables (positioned within projects) the project
>>>> TestDirImage2 only copies visible images and TestDirImage3 does not work
>>>> and does not write anything in the log file.
>>>>
>>>> Regards
>>>> Gianluigi
>>>>
>>>>
>>>> --------------------------------------------------
>>>>
>>>> This is the Gambas Mailing List:
>>>> https://lists.gambas-basic.org/listinfo/user
>>>>
>>>> Search the list:
>>>> https://lists.gambas-basic.org/cgi-bin/search.cgi
>>>>
>>>> Hosted by https://www.hostsharing.net
>>>>
>>>>
>>>
>>>
>>> --------------------------------------------------
>>>
>>> This is the Gambas Mailing List:
>>> https://lists.gambas-basic.org/listinfo/user
>>>
>>> Search the list:
>>> https://lists.gambas-basic.org/cgi-bin/search.cgi
>>>
>>> Hosted by https://www.hostsharing.net
>>>
>>>
>>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180316/f271cbaf/attachment.html>


More information about the User mailing list