[Gambas-user] get filename from file path

Kende Krisztián nemh at ...2007...
Thu Sep 19 11:39:25 CEST 2013


Myext = File.Name(path)

> On 19/09/13 18:02, Fabien Bodard wrote:
> I Looked at that but i think my question was unclear sorry i need the 
> filename and the extension from
> something like \home\user\filename.txt so i need filename.txt
> hope that make sense now
> 
> 
> Yes... Myext = file.ext(path) Le 19 sept. 2013 09:41, "Shane" 
> <shanep1967 at ...169...> a écrit :
> >> is there a way to get just the filename ext from a path ?




More information about the User mailing list