Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Thanks.

 

Yeah that will work. But there's usually some sort of 'special' .NET way of doing things that seems unlogically complicated. Just wondered if there was for this as well.

 

Just to test it i added these lines below.

 

       MsgBox(File.Exists("%windir%\fonts\arial.ttf"))
       MsgBox(File.Exists("c:\winnt\fonts\arial.ttf"))

 

The %windir%/fonts opens the right directory if i enter it into Start-Run. But returns a false message, the second line returns a True message. Why isnt the %windir% working??

Edited by Jay1b

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...