> I would like to write a perl program to run on NT to go > through a list of files, with full path and extract just the > file name. The path is random in length likewise so is the file name.
You could use a regular expression like: $filename =~ s/[\\\/]([^\\\/])$/$1/; To replace the full path with only what comes after the last '/' or '\'. Hope that helps, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]