Rename files in VB.NET?

V

Vidar Martinsen

Hi
I try to rename files, but I can't

I try to use the File Object, but there are no Rename function in the
object.

There is a Copy and Delete function, so:
Do I have to copy the file to a new file and the delete the old file?
...or are there another (better)solutin?

Regards
Vidar Martinsen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sorting a ListView? 1
Renaming files 17
Word refuses to save a document 4
VB file renaming. 2
dotNet Web seveces 1
PowerPoint PowerPoint: "can't open the type of file represented by..." 1
STUPID%20FILE%20NAMES 23
Macro to rename excel file 1

Top