delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/24/00:35:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_RW
X-Spam-Check-By: sourceware.org
From: Barry Kelly <bkelly DOT ie AT gmail DOT com>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: cygstart Cygwin <--> UNC path in 1.7 vs 1.5
Date: Mon, 24 May 2010 05:35:30 +0100
Message-ID: <2tvjv5tsvauptk9ccrbigpsbf8vlgppppn@4ax.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

UNC paths are not working with cygstart in my Cygwin 1.7 installation.
They haven't ever worked in 1.7 for me, but I just updated today, and I
noticed they still aren't working.

The symptoms:

$ cygstart //rupert/share/public

This is supposed to invoke the shell association for folders, which is
normally Windows Explorer. However, I get this error message instead:

---------------------------
Open Folder
---------------------------
\\rupert\share\rupert\share\public refers to a location that is
unavailable. It could be on a hard drive on this computer, or on a
network. Check to make sure that the disk is properly inserted, or that
you are connected to the Internet or your network, and then try again.
If it still cannot be located, the information might have been moved to
a different location.
---------------------------
OK=20=20=20
---------------------------

If I try to start the share itself, as opposed to a folder under the
share:

$ cygstart //rupert/share
Unable to start '\\?\UNC\rupert\share': The specified path was not
found.

There are similar problems with cygstart used with executables:

$ cygstart autoruns
Unable to start 'C:\cygwin\home\barrkel\autoruns': The specified file
was not found.

Autoruns.exe, the SysInternals utility, is on my path, and is marked
executable, and is compatibly findable without the exe suffix:

$ ls -l $(which autoruns)
-rwx------+ 1 Administrators None 654K 2009-10-13 10:20
/barrkel/base/windows-x86/bin/autoruns

Instead, I need to use this verbose thing:

$ cygstart $(which autoruns)

-- Barry

--=20
http://blog.barrkel.com/

--
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

- Raw text -


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