Re: [Gambas-user] get filename from file path

2013-09-19 Thread Shane
thanks everyone On 19/09/13 19:48, Shane wrote: > yes Of cause I looked at that as well and got confused with to doc's > (feeble brain) > anyway thats > > On 19/09/13 19:39, Kende Krisztián wrote: >> Myext = File.Name(path) >> >>> On 19/09/13 18:02, Fabien Bodard wrote: >>> I Looked at that but i

Re: [Gambas-user] get filename from file path

2013-09-19 Thread Shane
yes Of cause I looked at that as well and got confused with to doc's (feeble brain) anyway thats On 19/09/13 19:39, Kende Krisztián wrote: > 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 an

Re: [Gambas-user] get filename from file path

2013-09-19 Thread Rolf-Werner Eilert
Like it would be expected: File.Name If you don't like it, use File.BaseName & "." & File.Ext but File.Name should do what you're looking for ;-) Rolf Am 19.09.2013 11:34, schrieb Shane: > On 19/09/13 18:02, Fabien Bodard wrote: > I Looked at that but i think my question was unclear sorry i ne

Re: [Gambas-user] get filename from file path

2013-09-19 Thread Kende Krisztián
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(pa

Re: [Gambas-user] get filename from file path

2013-09-19 Thread Shane
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" a é

Re: [Gambas-user] get filename from file path

2013-09-19 Thread Fabien Bodard
Yes... Myext = file.ext(path) Le 19 sept. 2013 09:41, "Shane" a écrit : > is there a way to get just the filename ext from a path ? > > > > -- > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,50

[Gambas-user] get filename from file path

2013-09-19 Thread Shane
is there a way to get just the filename ext from a path ? -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012