I'm looking for a copy of snip.exe. This program registers/unregisters components/DLLs under a given directory.
I don't know about SNIP, but how about an even easier method?
Copy all the data between (but not including) the two rows of #s below, open Notepad, paste my data into Notepad and save it as a file with a .reg extension. Then double-click that file.
Now when you double-click on an OLE executable (.ocx, .dll, or .exe), you will get an opportunity to register or unregister it. You can do a search from a subdirectory for files with the .dll or .ocx extension and then select all of them and right-click to register or unregister them. I do this all the time in my project directories.
Here is the code:
; regsvr.reg, Copyright (c) 1997-1998, Chris Sells.
; All rights reserved. NO WARRANTIES ARE EXTENDED. USE AT YOUR OWN RISK.
; P.S. Enjoy and send comments to email@example.com.
; Replaced %1 with %L to get long file name support.
; (Thanks to Sergey Tetkin for the suggestion!)
; Sometime in early 1997: 1st release
; Don, Tim, Keith and I were sitting around at a GCOM talking about
; what a pain it was to perform self-registration and couldn't I
; add a shell extension to augment the context menu (I had written
; the Win95 course)? I said I could do even better than that and
; this regfile was born.
; Register and Unregister DLLs and OCXs
[HKEY_CLASSES_ROOT\dllfile\shell\Register COM Server\command]
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister COM Server\command]
@="regsvr32 /u \"%L\""
; Register and Unregister EXEs
[HKEY_CLASSES_ROOT\exefile\shell\Register COM Server\command]
[HKEY_CLASSES_ROOT\exefile\shell\Unregister COM Server\command]