Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Rename file extensions in a unknown directory using c#
Mohan D
Oct 16 2014 6:12 AM
855
Reply
I'm writing a code in C# and this is what i want to do:
I want to change the extension of a file from ".txt" to ".jpg" . Bu this "txt" can be in any directory (so its a unknown directory). This it he path "C:\Users\username\Desktop\Convert" . So inside the convert folder there will be many other folders inside which there will be a ".txt" file (only one "txt" file will exist.). So the code should automatically change the extension of ".txt" file to ".jpg" . Please guide me
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to use alias and sum them together in select query
DialogResult