VB.net cannot see directory that was created

Hi

I use the following code to create a directory but cannot see the directory in Windows Explorer. Why would this be?

 If System.IO.Directory.Exists("C:Program Files\KIAccounting\") = False Then
         System.IO.Directory.CreateDirectory("C:KIAccounting\")
 End If
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
käµfm³d 👽Connect With a Mentor Commented:
Where is the backslash after the colon(s)?
0
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
You are missing some parts in your path.

c:\program files\kiaccounting
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.