X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 461A53857BAB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1702917612; bh=dTv/LbS5JqkzJHLK5cyt0VCIwrqqYW0XQW0vOwi0afM=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=hqgtWR4ad6MCwRRvsj/kMZ4NfdvkqW7qH5nhP1l5k7KtbWUCHDj1WzMmGgYgVW90e ZVlaQEogXbtYGOce+WcSmOrX54+ePWkLZOGtmBroquV86831Jk3eSAZI3Y7v5fXbzZ NyoPED/fAtlElwa8K45fcmUi4bhGXmVEKNG1um8s= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 33BFD3858292 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 33BFD3858292 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702917576; cv=none; b=HLU8MhqgAIibpiPuyQqCrrbcHVuN5li49WQlEqZNkhLvHEVvls7G2y2nOr7oC9fso9Nvxmc4uVfEWo5wDRdtcYXGLpHKLtDFiUjd3ZnXWTQkpHBYG2s+IaRL2A/lH3Z6XJNXguhPzfLOv63ZVs5jWoKvqM6wPVwmX37lGw7h9OA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702917576; c=relaxed/simple; bh=gkTBMSI7gKphYajndpKkDV8hbhN7aF0oJqJJbnI5mAw=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=s+jqnp9w7OdIBQTaeyCgaV2POXNoLzY+fq3lrC2De5Db0yn0tJfdxeN1CLojjDlKfGXmV4z8WjhlZGE8Otk1sk/TG9JFaH/W6wT5GzTe4b7MMWc0GxSvvZfz56FO9Snmd2zRqNR7HGMMK1KxURfM/11nmPt6X1vpryLK/+b/GGg= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702917574; x=1703522374; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zB9jww/KEySoxpGEHUhE9Nq7PnswB+aGaXqul5Q9jW8=; b=mc3DwdODneC8tvHJPmoZ/BLZBvcpmnsLoXXGI05gKQnJQ/MsxOOeLFilEabRjneUa5 x08uxrRUYzfJMjM4TPBlJuXcNjyDVsMZQbYzXOzF76lLzLp7pJxiUIIAnqsGnTy4AmeX qK8t3RA6pkeYMgP2INfcnD2aO+gq77BpJk4aoirXx8SmBxm7ohsFgokFSsqygLUdgTTc fFRZS9OwQkmJAhkBiknfHt0mM8hxOG4OHiSH/AvRcnwi3twXqys4xzPML1Ob/VxWhg3S l6dRLj53waTsb9KrEvwIGMLAa8hZwYH9pTA7VQW1KzNfBPlUfVNwB6XgNTEFBntTJmLC SBzw== X-Gm-Message-State: AOJu0YxS9b+wTQV+H84yGFofNlfCApfVKx0AvvIXBKfP9S1ZiOgZcpz0 HEkkIOCDIJGEjoGoz8VWVzKnfAkZMps8nhLYXPz4pxr/ X-Google-Smtp-Source: AGHT+IERrb9Aw+RufwyWLdm6SLb4QWQTPLtv99uIajwE1D+toJ83eJk5mcAqvR53ULoZNo1YzQvWZxTzlbfJB3ugSXE= X-Received: by 2002:a05:6871:7391:b0:1f4:b1d6:573f with SMTP id na17-20020a056871739100b001f4b1d6573fmr15371692oac.13.1702917574351; Mon, 18 Dec 2023 08:39:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 18 Dec 2023 17:38:00 +0100 Message-ID: Subject: Re: Cygwin UNC path conversion functions? To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Martin Wege via Cygwin Reply-To: Martin Wege Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3BIGeC2f023047 On Fri, Dec 1, 2023 at 10:15 AM Corinna Vinschen via Cygwin wrote: > > On Nov 30 04:44, Martin Wege via Cygwin wrote: > > Hello, > > > > does Cygwin have UNC path conversion functions, for example UNC path > > to DOS mount letter, UNC path to file URL? > > Neither Cygwin nor Windows really care for that when using paths. > Either you use a drive letter or you use an UNC path, and either it > exists or not. Everything else is done in the mount manager or kernel. > > If you want to look for drive letter to UNC path conversion, you can > utilise QueryDosDevice. Does Cygwin have a command line tool for that? Thanks, Martin -- 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