Rename multiple files

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello everyone


I have a folder that contains a bunch of pdf files, i need to rename this files from

Orig File (before)
311_428A_rev-A.pdf
311_a142_rev-C.pdf
311_p465_rev-A.pdf
311_10A_rev-B.pdf
311_m17_rev-A.pdf

Output (after)
428A.pdf
a142.pdf
p465.pdf
10A.pdf
m17.pdf

I need a c# code to do this
Would you be so kind to help me.

Thanks

View the full article
 
Back
Top