Hey. How do I rename a file using VB 2003? What's the syntax?
Thanks
John
Printable View
Hey. How do I rename a file using VB 2003? What's the syntax?
Thanks
John
IO.File.Move
uhh how do i apply that to a file! hehe im new at this
You type it into the IDE and Intellisense will tell you what to do.
Same logic works in the command line.Quote:
Originally Posted by JohnRChick
Basically, it moves the file to wherever you tell it to go and then name it whatever you want.VB Code:
mv myfile.exe mynewfile.pdf
Check out the MSDN for usage