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