Created
June 29, 2020 13:58
-
-
Save olliencc/bd3995c510d5ed240ccd57883f607fe4 to your computer and use it in GitHub Desktop.
Show which program will load which extension when you double click in CSV format
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 °²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²° | |
REM °² Enumerates all files extensions ²° | |
REM °² and what opens them on Windows 10 in batch/cmd ²° | |
REM °² twitter: @ollieatnccgroup ²° | |
REM °²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²° | |
for /f "tokens=1,2 delims==" %%G in ('assoc') do ( | |
for /f "tokens=1,2 delims==" %%I in ('ftype %%H 2^> nul') do ( | |
echo %COMPUTERNAME%,%%G,%%J | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@PolarBearGod - fixed in this version https://gist.github.com/olliencc/aef3e237b9d0455a235ed4c989532f05