in reply to Re: remove directory path
in thread remove directory path

try this..

$file = "/opt/local/bin/zap.exe"; print $file = (split(/\//, $file))[-1];