Re: Getting relative pathes in a for loop

2006-03-22 Thread Peter Reilly
I use propertyregex with the help of a macro: In this case I am using the /dir/dir/dir/x.cpp name and extracting the x as the program name. On 3/21/06, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: > > Hello, > > In your case you can use to

Re: Getting relative pathes in a for loop

2006-03-21 Thread Ivan \"Rambius\" Ivanov
Hello, In your case you can use to get the name of the file. For more sophisticated operations on paths you may find useful with nested . Regards Ivan --- ar81 <[EMAIL PROTECTED]> wrote: > Hi all, > > When I write the following loop, I get absolute file > pathes. > > > >

Getting relative pathes in a for loop

2006-03-21 Thread ar81
Hi all, When I write the following loop, I get absolute file pathes. C:\Temp\dir1\file1.xml C:\Temp\dir1\file2.xml C:\Temp\dir1\file3.xml where work.dir=C:\Temp\dir1 I'd like to get : file1.xml file2.xml file3.xml