Created
June 29, 2020 13:54
-
-
Save olliencc/606b531f2a3e70f781fda47f265f650d to your computer and use it in GitHub Desktop.
Shows which program loads which extension when you double-click
This file contains 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 ( | |
echo Extension: %%G | |
for /f "tokens=1,2 delims==" %%I in ('ftype %%H 2^> nul') do ( | |
echo Program: %%J | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment