Hey. How do I rename a file using VB 2003? What's the syntax? Thanks John
IO.File.Move
Why is my data not saved to my database? | MSDN Data Walkthroughs VBForums Database Development FAQ My CodeBank Submissions: VB | C# My Blog: Data Among Multiple Forms (3 parts) Beginner Tutorials: VB | C# | SQL
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.
Originally Posted by JohnRChick uhh how do i apply that to a file! hehe im new at this Same logic works in the command line. VB Code: mv myfile.exe mynewfile.pdf Basically, it moves the file to wherever you tell it to go and then name it whatever you want. Check out the MSDN for usage
mv myfile.exe mynewfile.pdf
KrisSiegel.com - My Personal Website with my blog and portfolio Don't Forget to Rate Posts! Free Icons: FamFamFam, VBCorner, VBAccelerator Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes
Forum Rules