User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
win:no_extension_association [2018/05/27 21:16]
win:no_extension_association [2018/05/27 21:30] (current)
Line 1: Line 1:
 =====No Extension Association===== =====No Extension Association=====
-Associate Sublime Text 3 with files that have no extension+Associate Sublime Text 3 with files that have no extension, which is not allowed through the usual configuration menu.
 Download and run the following batch file as administrator:​ Download and run the following batch file as administrator:​
 <code batch associate.bat>​ <code batch associate.bat>​
 assoc .="No Extension"​ assoc .="No Extension"​
-ftype "No Extension"​=^"​^%ProgramFiles^%\Sublime Text 3\sublime_text.exe^"​ "​%1"​+ftype "No Extension"​=^"​%ProgramFiles%\Sublime Text 3\sublime_text.exe^"​ "%%1"
 assoc "No Extension"​\DefaultIcon=%SystemRoot%\System32\imageres.dll,​-102 assoc "No Extension"​\DefaultIcon=%SystemRoot%\System32\imageres.dll,​-102
 </​code>​ </​code>​
 +Note: replace the path for sublime text with the desired program.\\ ​
 +Note: also works for other extensions, but it should be easier to use the given configuration menu instead.
win/no_extension_association.txt · Last modified: 2018/05/27 21:30 by derek