<< Back to the snippet list
File information
In following code snippet I have tried to show the mostly required information from file path.
Using Path class we can easily find out the basic information we need from file paths such as File Name, File Extension, File name without exetension, File directory name etc.
IO.Path
File Name
File Extension
File directory
FullPath
File Name Without Extension