Home All Groups Group Topic Archive Search About
Author
24 May 2006 6:59 PM
Christopher Lusardi
How do I rename a file on the C disk?

Thanks,
Christopher Lusardi

Author
24 May 2006 7:22 PM
zacks
Imports System.IO


File.Move("currentname", "newname")
Author
24 May 2006 9:18 PM
Herfried K. Wagner [MVP]
"Christopher Lusardi" <clusard***@aol.com> schrieb:
> How do I rename a file on the C disk?

'Rename(String, String)' or 'System.IO.File.Move(String, String)'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>