I have some workarounds for the space quotation problem with Shell().
Workaround 1:
use Everything regex, replace space with \s in Shell()Workaround 2:
enable Everything URL protocol, open hyperlink instead of Shell()
Workaround 1:
use Everything regex, replace space with \s in Shell()
Code:
Shell("C:\Program Files\Everything\Everything.exe -s ""regex:Program\sFiles""",1)
enable Everything URL protocol, open hyperlink instead of Shell()
Code:
Dim sURL As StringsURL="es:""""""Program Files"""""""CreateUnoService("com.sun.star.system.SystemShellExecute").execute(sURL,"",0) 'for OpenOffice/LibreOffice Basic
Statistics: Posted by altoctave — Sun Feb 16, 2025 4:46 pm