http://msdn.microsoft.com/en-us/library/ms247123(v=vs.80).aspx
Way 1: Use sn command
sn /R D:\EK.Capture.DR.Gui.CCLongLengthManipulator.dll D:\Project\V5\DR\dr_v5_sdc_dev\DR\EK\Capture\DR\Common\FullKey.snk
Way 2: create bat file to run as below:
"C:\program files\microsoft visual studio 8\sdk\v2.0\bin\sn.exe" -R %1 c:\fullkey.snk
pause