Get the Font file name Path as shown in File Explorer

  • Thread starter Thread starter Jo Srm
  • Start date Start date
J

Jo Srm

Guest
I hope all are doing well.

Using: Visual Studio 2017 Windows Form C#:

I know how to get the path of a file using the following code:

Path.Combine(Directory.GetCurrentDirectory(), "Path to file")

When looking for the path of a Font file it will bring back the following: C:\Windows\Fonts\Script Regular

The path that I need to get is C:\Windows\Fonts\SCRIPT.FON as shown below.

1620062.png

Any suggestions is appreciated.


Regards

Continue reading...
 
Back
Top