Zoomed Image

AMSX Scripting Language - Command : GetFileName

Summary

Extract the file name portion from a full file path

Description

Parses the supplied path and returns just the file name (including extension) without the directory portion. The result is stored in the result buffer.

Parameters

ParameterDescription
cmdFull file path to extract the file name from

Syntax


GetFileName "Full file path to extract the file name from"

Return to the AMSX Command Reference