in reply to Re: remove directory pathin thread remove directory path
try this..
$file = "/opt/local/bin/zap.exe"; $file = (split(/\//, $file))[-1]; print $file; [download]