I've been working on some code to rename files and have being doing so by copying them to the same location under a different name and then removing the original. When I do this for files I use the code ...
Code:
Dim file As New System.IO.FileInfo(lstFiles.SelectedItem.ToString) Dim strNewFile As String Dim strRename As String Dim strMask As String = "" Dim intCurrentNum As