Open no extension files with double-click?
Moderators: Hacker, petermad, Stefan2, white
Open no extension files with double-click?
I have a Windows 11 set up so that a file with no extension opens in Notepad++. If I try the same in Total Commander, the popup "Select an app to open this . file" shows with the Just Once button (no Always button available). I know I can map Notepad++ to F3 or F4, but is it possible to also override Enter, but still keep it for folder navigation? I think Enter is mapped to cm_Return by default.
Re: Open no extension files with double-click?
2ib
Use this in the [Searches] section of your wincmd.ini file:
And then associate >File_no_ext in TC's internal association with notepad++.
The trick is to disable the Directory attribute from the search in the Advanced tab in the Find Files dialog.
Use this in the [Searches] section of your wincmd.ini file:
Code: Select all
File_no_ext_SearchFor=*.
File_no_ext_SearchIn=
File_no_ext_SearchText=
File_no_ext_SearchFlags=0|006002010021||||||||22220|0000|||
The trick is to disable the Directory attribute from the search in the Advanced tab in the Find Files dialog.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open no extension files with double-click?
How do I do this part?And then associate >File_no_ext in TC's internal association with notepad++.
Re: Open no extension files with double-click?
2ib
like this: https://tcmd.madsenworld.dk/associatefilenoext.pngHow do I do this part?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open no extension files with double-click?
Ok, thanks a lot for the hint. That didn't work for me -- editor tries to open "C:\FileWithNoExtension." with a trailing dot. This however did work:
1. Click Files -> Associate (Windows Overall)
2. Leave BLANK "All files with extension (ending with):".
3. Click New Type...
4. Browse and select an editor
5. Click OK
1. Click Files -> Associate (Windows Overall)
2. Leave BLANK "All files with extension (ending with):".
3. Click New Type...
4. Browse and select an editor
5. Click OK
Re: Open no extension files with double-click?
2ib
Well, it works fine here - are you sure you have "%1" at the end of the field "Open" in the "Edit file type" dialog.That didn't work for me -- editor tries to open "C:\FileWithNoExtension."
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open no extension files with double-click?
If you are on Windows 10, might account for the difference. My original steps were...
1. Click Files -> Associate Internal -> Add
2. Specify file type -> >File_no_ext
3. Type name: >File_no_ext
Actions -> Open "C:\Program Files (x86)\Notepad++\notepad++.exe" "%1"
4. OK, OK
1. Click Files -> Associate Internal -> Add
2. Specify file type -> >File_no_ext
3. Type name: >File_no_ext
Actions -> Open "C:\Program Files (x86)\Notepad++\notepad++.exe" "%1"
4. OK, OK
Re: Open no extension files with double-click?
2ib
Could you please try this:
Open Find Files (Alt+F7), click on the Load/Save tab, find File_no_ext in the list and Load it.
Is the General and the Advanced tabs then filled out like this:
https://tcmd.madsenworld.dk/file_no_ext1.png
and this:
https://tcmd.madsenworld.dk/file_no_ext2.png
I just tested on Windows 10 - it still works fine here.If you are on Windows 10, might account for the difference.
Could you please try this:
Open Find Files (Alt+F7), click on the Load/Save tab, find File_no_ext in the list and Load it.
Is the General and the Advanced tabs then filled out like this:
https://tcmd.madsenworld.dk/file_no_ext1.png
and this:
https://tcmd.madsenworld.dk/file_no_ext2.png
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar