delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/13/05:54:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A6CAB385840C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=dyalog.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dyalog.com
From: "john daintree" <johnd AT dyalog DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Starting CMD from a bash shell with current directory on a
mounted/network drive results in an incorrect current directory
Date: Mon, 13 Dec 2021 10:53:41 -0000
Message-ID: <015801d7f00f$b117ed70$1347c850$@dyalog.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
thread-index: AdfwDw6IJ+KFXP/xToGRcJ1gTSBkKw==
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50, HTML_MESSAGE,
KAM_DMARC_STATUS, SPF_HELO_NONE,
SPF_PASS autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello All,

 

I've just upgraded a machine from Windows 10 to Windows 11. Part of my work
process is now broken because when starting cmd from Cygwin with the current
directory on a mounted drive I get the following error/warning/issue:

 

 

/cygdrive/j$ cmd

'\\nas00.<redacted>\devt\users\johnd'

CMD.EXE was started with the above path as the current directory.

UNC paths are not supported.  Defaulting to Windows directory.

Microsoft Windows [Version 10.0.22000.348]

(c) Microsoft Corporation. All rights reserved.

 

C:\Windows>

 

 

The drive J: is mounted as something on our network (I've redacted a bit of
the path, for probably no good reason)

 

Is there a workaround? Or is this something that can be fixed in Cygwin?

 

Thanks

John.

 


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019