delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <457D67EB.9080302@mscha.nl> |
Date: | Mon, 11 Dec 2006 15:15:07 +0100 |
From: | Michael Schaap <cygwin AT mscha DOT nl> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygstart getting The specified file was not found |
References: | <d03296dc8b788 DOT 457c65d6 AT shaw DOT ca> |
In-Reply-To: | <d03296dc8b788.457c65d6@shaw.ca> |
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 |
ERIC HO wrote: > Hi there, I've been using cygstart to start chm and pdf files with no problems until a few days ago. Now I'm getting The specified file was not found when using cygstart on a file. I updated a few the cygwin packages last week. Not sure whether this has something to do with it. I can provide a output of strace too if required. Thanks. > Hmm, that is weird indeed... Can you still open the files in question by double-clicking them in Windows Explorer? If not, then it appears to be something wrong with your Windows installation. Does the problem occur with full paths? e.g., does this work? $ cygstart /full/path/to/myfile.pdf Does this only affect certain extensions, or all file types? For instance, does this work? $ echo hello > hello.txt; cygstart hello.txt How about URLs? Does $ cygstart http://www.cygwin.com/ still work? The only thing in a 'strace' that might be helpful here, is the path conversion. Can you do something like: $ strace cygstart myfile.pdf | grep myfile.pdf and check if the converted Windows filename (C:\blah\blah) is correct? If the above doesn't help, we'll need more information. Can you follow the "Problem reports" link below, and attach cygcheck output? - Michael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |