Hi,
I have a file test.txt, this file has many pathnames such as,
C:\xx\yy\zzz\bd\hello
C:\xx\yy\zzz\bd\bye
C:\xx\yy\zzz\bd\cd\de\name
C:\xx\yy\zzz\bug
C:\xx\yy\zzz\dfdfd\gt
I want to use basename or any other method to get the the last filename. At the moment in my batch script im unable to loop through the file and use basename on each path. Any other way of solving the problem can also be tried.
Thanks,
Rahul