Folder Creator

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
3 posts Page 1 of 1
Contributors
User avatar
3aaBrSbeel
Top Poster
Top Poster
Posts: 139
Joined: Fri Jun 01, 2012 9:34 am

Folder Creator
3aaBrSbeel
In this tutorial, I'm going to show you how to make a Folder Creator.
The folder creator simply, creates a folder in your selected drive.

Heres how to make one...

Create a new Console Application,

If done loading the Console Application, delete all the codes.

Copy the codes below and paste it into Console Application.
Code: Select all
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.IO
Namespace Folder_Creator
    Class Program
        Shared Sub Main(ByVal args As String())
            Dim newDir As New DirectoryInfo("C:/FoLDeRCreaToR") 'Change "FoLDeRCreaToR" to your desired folder name.'
            If newDir.Exists Then
                Console.WriteLine("")
                Console.WriteLine("The Folder Exist")
                Console.WriteLine("")
            Else
                newDir.Create()
            End If
            Console.Write("Drives:")
            Console.WriteLine("")
            Console.WriteLine("")
            For Each di As DriveInfo In DriveInfo.GetDrives()
                Console.WriteLine("{0},({1})", di.Name, di.DriveType)
            Next
            Console.ReadKey()
        End Sub
    End Class
End Namespace
After pasting the codes, you can change the folder name from FoLDeRCreaToR to your desired name. It's default path is at your C:/ Drive.

When done, go to your Project Properties and change Startup Object to Folder_Creator.Program.

Then, debug! hehaho;
Code'n'Stuff Signature Of 3aaBrSbeel
®║▌│█│║▌║││█║▌║▌║▌
✔ Verified Official Code'n'Stuff account ᵀᴴᴱ ᴼᴿᴵᴳᴵᴻᴬᴸ
Image
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Re: Folder Creator
pip
@ #3aaBrSbeel Seen many of these needed one for here thanks i would have done it but now it is just one more idea i can't make :D +reps to you mind hijacker!
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
User avatar
3aaBrSbeel
Top Poster
Top Poster
Posts: 139
Joined: Fri Jun 01, 2012 9:34 am

Re: Folder Creator
3aaBrSbeel
Haha, thank you. loove;
3 posts Page 1 of 1
Return to “Tutorials”