Created
February 23, 2019 03:47
-
-
Save nhasbun/05f03e3bb4435d9fd4bb6f91ac7bd5a2 to your computer and use it in GitHub Desktop.
Clean some invasive Altium Designer file associations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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