Skip to content

Commit 347d91a

Browse files
committed
🔎一键Everything 搜索带空格文件夹自动加引号
1 parent f91d5b0 commit 347d91a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RunAny.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2374,7 +2374,7 @@ Ev_Show:
23742374
SplitPath,S_LoopField,fileName,,,name_no_ext
23752375
S_LoopField:=EvShowExt ? fileName : name_no_ext
23762376
}
2377-
if(InStr(S_LoopField,A_Space) && getZzLength>1){
2377+
if(InStr(S_LoopField,A_Space) && (getZzLength>1 || InStr(FileExist(S_LoopField), "D"))){
23782378
S_LoopField="""%S_LoopField%"""
23792379
}
23802380
evSearch.=S_LoopField "|"

0 commit comments

Comments
 (0)