Chuck,

If you have the full filename (path and all) Win32::GetFullPathName(file) 
returns a list, the first element being the path, the second the filename.

Otherwise you could do something like

 $file=$line;
 $file=~ s/*\\//;

It looks simpler than the split thing but works.

Kev.

Reply via email to