Rename currently selected file in an active window using c#
<p>I have around 4000 files which I have to rename depending upon the type of document. I want to write a program in C# which will stay on top of all windows and when I select the file in a folder and click a button in the program it will rename the file accordingly. I have 7 type of documents so I want 7 button on the form with different renaming options. for example jb1, jb2 up to jb7. when I select a file and click jb1 the file name changes to jb1. </p>

<p>Is this thing possible in C#. </p>

<p>Update 1: I am providing the name initials from two text boxes so there will not be any case where a file with same name will exist. I want a way to communicate between the selected file to and the program. 
The full file name will be some thing like: product_supplier_Jb1</p>

<p>Update 2: They are normal document files like pdf or doc and similar, first I have to open the file to check what type is it then I want to rename according to the type. </p>

<p>I would appreciate if anybody can suggest a better way to do it using anything.</p>
