I understand how to rename a file in VB.NET as I use in the code at the end of my post. However, I was wondering if it\'s possible to rename a file and if the file exists th
You need to write your own logic for this.
The File class has many useful method for dealing with files.
If File.Exists(filePath) Then ' Give a new name Else ' Use existing name End If
The Path class has many methods for dealing with file paths.
Path.GetFileNameWithoutExtension(filePath)