Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

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
0
Murray Brown
Asked:
Murray Brown
2 Solutions
 
käµfm³d 👽Commented:
Where is the backslash after the colon(s)?
0
 
Éric MoreauSenior .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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now