hi ihave many files like
Log.txt . Etc...
And i want to rename these files into something like this
File3.txt . Etc
So how can i do this in c#
Thank you for your help
Jump to Post
Are these files in one folder? If so, you can get all files from this folder into a FileInfo (you need fileInfo, because you need a full path, so set files back where they were before renaiming).
Then you do some additional code of renaiming and use Move method for …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.