[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w32-shell-execute and Cygwin
From: |
Eli Zaretskii |
Subject: |
Re: w32-shell-execute and Cygwin |
Date: |
Tue, 21 Apr 2020 05:24:33 +0300 |
> From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
> Cc: help-gnu-emacs@gnu.org
> Date: Mon, 20 Apr 2020 21:49:48 +0200
>
> But now there is the problem that w32-shell-execute seemingly doesn't
> recognise cygwin paths. (here: "/cygwin/c/...")
>
> error "ShellExecute failed: The system cannot find the file..."
>
> It seems to me as if w32-shell-execute is not literate for cygwin paths
> and one needs to normalise them to the Windows standard ("c:/...")?
Yes. There's a function for that already in Emacs:
cygwin-convert-file-name-to-windows.