GNU bug report logs - #66514
start-process explorer.exe open wrong directory

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Fri, 13 Oct 2023 11:42:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 66514 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Shynur Xie <one.last.kiss <at> outlook.com>
Cc: 66514 <at> debbugs.gnu.org
Subject: Re: bug#66514: start-process explorer.exe open wrong directory
Date: Fri, 13 Oct 2023 15:53:40 +0300
> From: Shynur Xie <one.last.kiss <at> outlook.com>
> Date: Fri, 13 Oct 2023 11:40:44 +0000
> msip_labels: 
> 
> (Emacs v29.1 on MS-Windows)
> 
> Reproduce:
> 
>   1. $ emacs.exe -Q
>   2. (start-process "Explorer" nil "explorer.exe" "C:/Users/username")
> 
> I think it should open the HOME folder,
> but it actually opened "C:/Users/username/Documents".

Try

  (start-process "Explorer" nil "explorer.exe" "C:\\Users\\username")

> When I use shell-mode or eshell, explorer works as expected.

How exactly do you "use shell-mode or eshell" to start the Explorer?




This bug report was last modified 1 year and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.