Skip to content

Instantly share code, notes, and snippets.

@nhasbun
Created February 23, 2019 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nhasbun/05f03e3bb4435d9fd4bb6f91ac7bd5a2 to your computer and use it in GitHub Desktop.
Save nhasbun/05f03e3bb4435d9fd4bb6f91ac7bd5a2 to your computer and use it in GitHub Desktop.
Clean some invasive Altium Designer file associations.
@echo off
rem Altium Designer is quite invasive regarding file associations taking control all over the place.
rem This script put some stuff in place.
rem
rem assoc and ftype can be run standalone to get a list if you need to clean
rem more associations...
@echo on
assoc .asm=
assoc .c=
assoc .cpp=
assoc .h=
assoc .src=
assoc .v=
assoc .vhd=
assoc .vhdl=
@echo off
rem Shit spread like a virus.
rem T-t-thanks Altium.
@echo on
ftype ASMSourceFile=
ftype CSourceFile=
ftype CppSourceFile=
ftype CHeaderFile=
ftype VerilogFile=
ftype VHDLFile=
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment