For example, how do I get Output.map
Output.map
from
F:\\Program Files\\SSH Communications Security\\SSH Secure Shell\\Output.map
You're looking for basename.
The example from the PHP manual: