<p>I wrote myself a little downloading application so that I could easily grab a set of files from my server and put them all onto a new pc with  a clean install of Windows, without actually going on the net.  Unfortunately I'm having problems creating the folder I want to put them in and am unsure how to go about it.</p>

<p>I want my program to download the apps to <code>program files\any name here\</code></p>

<p>So basically I need a function that checks if a folder exists, and if it doesn't it creates it.</p>

Try this:
```
Directory.Exists(TheFolderName)
```
and
```
Directory.CreateDirectory(TheFolderName)
```
(You may need:
```
Imports System.IO
```
)