Skip to content

Get file name from path

Description

Gets just the file name from a full path

Input Ports

Name dataType sourceType required description
Full path text link-manual true The full path to the file
Extension text link-manual true The extension to remove from the file name

Scenarios

  • The user wants the file name from the path provided

Use case

Command

Inputs
  • Full path: D:\Traning Scope.txt
  • Extention: .txt
Experienced tips
  • If you do not specify a Full path to a file, the output file name will be default to desktop
  • If you do not specify an Extention, the File name extention will be included in the output
Search Tags

Retrieve file name from path