LocationMy.Computer.FileSystem.GetName SyntaxDim result As String = My.Computer.FileSystem.GetFileName(path)
DescriptionThe GetName method examines a valid filename path and returns only the filename portion, with all drive letters, folders, and directories removed. Usage at a GlanceThe original path must be correctly formatted, but it does not need to refer to an actual file on the file system. Related Framework Entries
See AlsoCombinePath Method, FileSystem Object, GetParentPath Method |