I have the following code:
Dim pstrDrive As String
pstrDrive = cboDrives.Text.Substring(0, 3)
MessageBox.Show("Delete Drive: " & pstrDrive, "Delete") 'pstrDrive will show, for example: E:\
With this code, I receive an error message, "Absolute path information required."
I want to be able to delete EVERYTHING on the E:\ drive, all files, directories and sub directories. Can someone help me out?