Answers for "path get filename"

C#
2

get file path

On Windows explorer :
Hold shift and right click on the file
Select "Copy file path to clipboard" (this may change with windows versions and languages)
Paste the content of your clipboard in a document.
Posted by: Guest on June-18-2021
0

C# get filebase name

string name = Path.GetFileName(file);
Posted by: Guest on December-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language