TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
praveen kumar
NA
188
32.2k
file rename
Nov 5 2015 11:30 PM
Hi,
DirectoryInfo d = new DirectoryInfo(@"D:\test");
FileInfo[] infos = d.GetFiles();
foreach (FileInfo file in infos)
{
File.Move(f.FullName, Path.Combine(f.DirectoryName, "N " + label3.Text + "-" + label4.Text + " " + "9187" + " " + "0000" +" "+ file+
"Here"
));
}
Actually this is my code, want to rename a after file from a label
Kindly kelp me out
Reply
Answers (
3
)
How to insert into Database table when months changed ?
Need Key,Value for get Data