awolarczuk
asked on
How do i rename a file using vb 2005
Hi all i am wanting to rename a file after it has been copied, i have already got the copied to copy it i just need to rename is now
Thanks in advance
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>Don't forget the eternal excpetions:
One would assume the file path was validated before performing a rename action.
Wayne
One would assume the file path was validated before performing a rename action.
Wayne
what about filename collisions, invalid characters, network path access?
always catch those dang exceptions !!
always catch those dang exceptions !!
That may be the case, but please show some respect and acknowledge other Experts when you use their solutions.
https://www.experts-exchange.com/help.jsp#hi416
Wayne
https://www.experts-exchange.com/help.jsp#hi416
Wayne
ASKER
Hi Wayne this is my question am i didnt make any bad comments mate i thank everyone for there comments
fi.MoveTo("myFile2.doc")