From 6dba8ca5361ea6cc054c456797c817f9abebe443 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 31 Jan 2019 13:45:57 +0530 Subject: [PATCH] Also allow .cmd files in open with --- src/calibre/gui2/open_with.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/open_with.py b/src/calibre/gui2/open_with.py index 45d509e3dc..31ba41968d 100644 --- a/src/calibre/gui2/open_with.py +++ b/src/calibre/gui2/open_with.py @@ -104,7 +104,7 @@ if iswindows: ans = choose_files( parent, 'choose-open-with-program-manually-win', _('Choose a program to open %s files') % filetype.upper(), - filters=[(_('Executable files'), ['exe', 'bat', 'com'])], select_only_single_file=True) + filters=[(_('Executable files'), ['exe', 'bat', 'com', 'cmd'])], select_only_single_file=True) if ans: ans = os.path.abspath(ans[0]) if not os.access(ans, os.X_OK):