Skip to content

Instantly share code, notes, and snippets.

@maphew
Created October 10, 2017 22:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maphew/6f48135abb77fc68d68427a119882f8f to your computer and use it in GitHub Desktop.
Save maphew/6f48135abb77fc68d68427a119882f8f to your computer and use it in GitHub Desktop.
@echo off
echo.
echo. Manually registering custom ArcGIS COM tools in the current folder...
echo.
setlocal
set PATH=%PATH%;C:\Program Files (x86)\Common Files\ArcGIS\bin;C:\Program Files\Common Files\ArcGIS\bin
for %%a in (*.dll) do ESRIRegAsm.exe "%%~dpna"
endlocal
@echo off
@echo off
echo.
echo. Manually de-registering custom ArcGIS COM tools in the current folder...
echo.
setlocal
set PATH=%PATH%;C:\Program Files (x86)\Common Files\ArcGIS\bin;C:\Program Files\Common Files\ArcGIS\bin
for %%a in (*.dll) do ESRIRegAsm.exe /u "%%~dpna"
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment