Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

i need to copy all mp3 files in a directory and its child directorys

$
0
0
Dim wantedExtension as String = ".jpeg"
	 
	For Each file_name As String In OpenFileDialog1.FileNames
	    If (file_name.EndsWith(wantedExtension) Then
	        TEST1.lstFiles.Items.Add(file_name)
	        TEST1.txtList.Text = TEST1.txtList.Text + Environment.NewLine + file_name
	        File.Copy(file_name, "C:\Documents and Settings\kmoloney\Desktop\kmoloney\RELEASEDtest" & "\" & Path.GetFileName(file_name), True)
	    End If
	Next

'i took this from another developer here please help i have being trying to find this answer for along time

its in vb

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>