delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=AHjC4c5D8oPvoo49fIwOGijr9YprGNgxLvmY89TiqYjgV3ntgdFhg | |
kr1gNU0N4zU1aalTqa/Xyb5cGycltkurEC9I1v7VIjrp2RkmTY3UdKDOecNV4CiQ | |
4cSgOES79j0FOtLG3R7v49VRU1JaLMR5mIQQfJE5TlTwZiFZuy7auw= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=zUG9wBgupm6F9V7tcbKE6b4C92g=; b=RszO9sY9Rk3CVy80HujAd6EIAd4t | |
GjBVWnyGiz97kRS1tIwLlWVqMKXqVckAMK3NOFxj0J6xWwp/lUfqcXp141PJsnn5 | |
W4HlDL2JJ0cGxFReonqAmKxc5cwrn3/y+U0MkBx0cAWHtQ0d4np+0Spl+qVT6fk9 | |
RJQ3dIey21sREfw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-0.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | plane.gmane.org |
To: | cygwin AT cygwin DOT com |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Subject: | Re: Error accessing mapped drive >2TB? |
Date: | Mon, 21 Sep 2015 21:32:59 +0000 (UTC) |
Lines: | 47 |
Message-ID: | <loom.20150921T232032-792@post.gmane.org> |
References: | <CA+2x6-L_pqdN6PHE0c15hcmrmB66Z75Hz95cH+dbcn4yXuVZNg AT mail DOT gmail DOT com> <712A87EA-64C7-4033-BE7F-39C8C8D527EB AT etr-usa DOT com> <110723294 DOT 20150915064630 AT yandex DOT ru> <CA+2x6-LtkKk15AOavG5pUD+YwcKKa=TKU1nnHwEy45LKwLkFJg AT mail DOT gmail DOT com> <0C37A612-5E78-48A8-9503-F3A34129BC7B AT etr-usa DOT com> <CA+2x6-L+dr92-O1b2bnqnaCxOzZ9GCLv1ekXEPcALkuYvFp_yQ AT mail DOT gmail DOT com> <B35CA86C-3AFD-424A-AFE7-7A2B4FE0B421 AT etr-usa DOT com> <loom DOT 20150921T061240-314 AT post DOT gmane DOT org> <1536508568 DOT 20150921085631 AT yandex DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Andrey Repin <anrdaemon <at> yandex.ru> writes: > > Greetings, Brian Inglis! > > > $ ls $(cygpath '\\live.sysinternals.com\tools\') # works - list contents > > About_This_Site.txt ctrl2cap.amd.sys* Eula.txt > > ... > > $ ls `cygpath '\\live.sysinternals.com\tools\'` # fails - should be same as > > above 2 > > ls: cannot access /cygdrive/c/live.sysinternals.com/tools/: No such file or > > directory > > Not necessarily. This is why using the backticks is discouraged. > They have weird escaping rules and generally non-obvious. > Stick to $( ... ). Never noticed any issues previous to this but generally don't use backslashes except as escape character, and MS utilities which require legacy path separators (even under DOS, many non-MS utilities would accept normal path separators, as the underlying APIs didn't care, and neither do most of the Windows APIs). > > Windows Explorer drive mappings are not visible from cmd or mintty/bash > > windows, but "net use x: \\live.sysinternals.com\tools" mappings are visible > > from separate cmd and mintty/bash windows as drive X: or /cygdrive/x, but > > x:\ is not accessible from Windows Explorer. > > Are you sure you're looking from the same user session? Same user session, different (elevated) cmd and mintty/bash console sessions. > If you start mintty/cmd elevated, you won't see drives mapped in Explorer > (non-elevated). Kind of figures on Windows - I would expect elevated sessions to be able to see mappings on non-elevated sessions. > For me, everything works as expected. Drives mapped in batch file on system > start visible in Explorer without an issue. Found that when I started using W7 console sessions, net utilities, both MS and Cygwin nslookup, ping, tracert, etc. could not see the network unless they were run in elevated sessions, so set up all console sessions to start elevated. Was that something that happened on early releases and was fixed later, or some incorrect assumption or setting on my part years ago? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |