Search:
Namespaces
Discussions
.NET v1.1
Feedback
Renaming a file in .Net
Messages
Related Types
This message was discovered on
ASPFriends.com 'ngfx-io' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Bob Herrmann
Hi all,
I have a comma-delimited file named general.csv. I want to rename this file to generalx.csv. How do I do this in VB.Net from my ASP.Net page?
Thanks,
Bob
Reply to this message...
Kloberg Mac (LAM) (VIP)
Import System.IO and use the
File
.Move method:
File
.Move("c:\yourpath\general.csv","c:\yourpath\generalx.csv")
hth
--
Sincerely,
Mac Kloberg
LIEBHERR AMERICA INC.
http://www.liebherr-us.com
[Original message clipped]
Reply to this message...
Faisal Zaman
(Type your message here)
--------------------------------
From: Faisal Zaman
Reply to this message...
System.IO.File
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com