@Venkatesh VT ,
@JP Onstwedder
If I read your request correctly, another option may be
jEXIFToolgui - use the included ExifTool Commands - with - Parameters: "-UserComment<Filename" *.NEF as an example or use whichever metadata TAG you choose.
This example will write the filename of each file into the EXIF UserComment TAG, note the lack of a space between User and Comment in the parameter above.
Save parameters used as a Favorite if you wish.
jExifToolGUI is free, has LOTS of uses and can be used with Windows, MAC, Linux, you do need to download
EXIFTool for your OS.
Some helpful (maybe) links -
EXIFTool documentation and
ExifTool Tag Names