I am developing application where I want to give a choice to user to make backup of database in case of syatem crash etc.
I know how to copy a file from one location to another loaction using filesystem.copyfile but i want to get information of user system and its partitions and their label so i will backup databae in another drive

Thanks in advance!

I guess you want all of the connected drive letters? You will also want to make sure they are accessible:

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
		Dim drives As System.IO.DriveInfo() = System.IO.DriveInfo.GetDrives()
		For Each drive In drives
	End Sub

Thanks buddy !

You're welcome

Please mark this thread as solved if you have found the answer to your original question and good luck!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.