This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygstart getting The specified file was not found


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]