YouTip LogoYouTip

Met Getfilename

# ASP GetFileName Method * * Complete FileSystemObject Object Reference Manual](#) * * * The GetFileName method returns a string containing the file name or folder name for the last component in a specified path. ### Syntax FileSystemObject.GetFileName(path) | Parameter | Description | | --- | --- | | path | Required. The path to a specific file or folder. | * * * ### Example Get the file name: Output: test.htm Get the folder name: Output: test * * Complete FileSystemObject Object Reference Manual](#)
← Met GetfolderMet Getfile β†’