How can a Send To shortcut add an assembly to the GAC?
To create a Send To item in your Windows Explorer right-click shortcut menu:
- Create a .bat file in any directory that contains the following code (for example "AddToGAC.bat"):
"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" -i %1
- Using Windows Explorer, right-click the .bat file and select Copy from the shortcut menu.
- Using Windows Explorer, navigate to the C:\Documents and Settings\<User Name>\SendTo folder.
- Right-click in the right pane of Windows Explorer and select Paste Shortcut.
- Rename the shortcut to something user-friendly such as "GAC"
Now you can right-click a .NET assembly in Windows Explorer and select Add to GAC from the shortcut menu:
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 09/02/05
Comment or report problem with topic
