Re: BASEDIR and BASENAME on Windows

2006-08-01 Thread JupiterHost.Net
BenBart wrote: Hi all, Can anyone please tell me how to get the BASENAME and BASEDIR of a file ... i.e. for example, if I have C:\Windows\Temp\Dir1\MyFile.TXT, I want to be able to get the BASENAME which is MyFile and the BASEDIR which is C:\Windows\Temp\Dir1 and assign them to variables .

Re: BASEDIR and BASENAME on Windows

2006-08-01 Thread Beginner
On 2 Aug 2006 at 3:24, BenBart wrote: > Hi all, > > Can anyone please tell me how to get the BASENAME and BASEDIR of a file > ... i.e. for example, if I have C:\Windows\Temp\Dir1\MyFile.TXT, I want > to be able to get the BASENAME which is MyFile and the BASEDIR which is > C:\Windows\Temp\Dir1