summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index 0abbc501..551f20af 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1433,7 +1433,7 @@ class Input(Win):
split_words = words[1:]
words = [words[0]]
for word in split_words:
- if ' ' in word:
+ if ' ' in word or '\\' in word:
words.append('"' + word + '"')
else:
words.append(word)