Renaming Files using Path.Combine

M

MikeY

Hi everyone,

Through a computer crash (bah), I have lost my code to rename files using
Path.combine. Can anyone help me out in C# and with the syntax of renaming a
file or multiple files using the Path.Combine method.

Thank you all in advance.

MikeY
 
M

MikeY

I have found my answer, But if anyone else out there has a better solution,
I am always on the look-out for better ways.

Thanks again.
MikeY
 
M

MikeY

File.Move(Path.Combine(currentFolderPath, myItems),
Path.Combine(currentFolderPath, myItems2));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top