Apr 15th, 2012, 01:34 AM
[RESOLVED] Bulk File Copier
I am wanting to create a large amount of files all copied from a single original file. I then have a list of names in a listbox that each of of these files will rename to. However I am getting an error saying that the file already exists in the save location even though the files are saving to a totally different folder...
I was wondering if you could give me a hand as I am not sure if I am doing it correctly... code below.
Dim Counter As Integer = listFileNames.Items.Count
Do Until Counter = 0
My.Computer.FileSystem.RenameFile(txtSave.Text, listFileNames.SelectedItem(0) & ".php")
Counter = Counter - 1
Apr 15th, 2012, 02:58 AM
Click Here to Expand Forum to Full Width
Survey posted by VBForums.