dsb I am using your command and need a little more help. If I want to get all the files that has an extension not just .c how can i specify that? In the command I see that .c is specified. Can I specify mutliple patterns or use a wild card so that it gets all the files with extension.I have few .c files, .java and .xml and some directories in the $str. I just want to filter out the directories and get the files. ie in addition to
'c:\temp\source\test\test.c@@main\com\etc c:\temp\source\test\test1.xm
+l@@main\com\test c:\temp\source\test\test3\test2.c@@main\com\etc\test
+ c:temp\source c:\temp\source\java@@main\com\etc\test c:temp\source\
+java\test.java@@main\com\etc\test '
I want the out put to be
\test\test.c
\source\test\test3\test2.c
\test\test1.xml
\source\java\test.java
THanks