delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <457DDB8B.9050808@mscha.nl> |
Date: | Mon, 11 Dec 2006 23:28:27 +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: | <cff6fd558950e DOT 457d76ca AT shaw DOT ca> |
In-Reply-To: | <cff6fd558950e.457d76ca@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: > I was able to use Windows Explorer to open the file by double clicking the file. I was able to use cygstart open the file with full path. The problem is with all file type. I can do a cygstart http://www.cygwin.com/ with no problem. The result from: > strace cygstart hello.txt |grep hello.txt > is as below: > 20 11399 [main] cygstart 732 build_argv: argv[1] = 'hello.txt' > 202 12600 [main] cygstart 732 normalize_posix_path: src hello.txt > 46 12686 [main] cygstart 732 normalize_posix_path: /cygdrive/c/WINDOWS/system32/hello.txt = normalize_posix_path (hello.txt) > 22 12708 [main] cygstart 732 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/WINDOWS/system32/hello.txt) > 135 12843 [main] cygstart 732 mount_info::cygdrive_win32_path: src '/cygdrive/c/WINDOWS/system32/hello.txt', dst 'c:\WINDOWS\system32\hello.txt' > 21 12960 [main] cygstart 732 mount_info::conv_to_win32_path: src_path /cygdrive/c/WINDOWS/system32/hello.txt, dst c:\WINDOWS\system32\hello.txt, flags 0x2A, rc 0 > 73 13033 [main] cygstart 732 symlink_info::check: GetFileAttributes (c:\WINDOWS\system32\hello.txt) failed > 47 13103 [main] cygstart 732 symlink_info::check: GetFileAttributes (c:\WINDOWS\system32\hello.txt.lnk) failed > 169 13294 [main] cygstart 732 symlink_info::check: 0 = symlink.check (c:\WINDOWS\system32\hello.txt, 0x22C040) (0x80002A) > 26 13619 [main] cygstart 732 path_conv::check: this->path(c:\WINDOWS\system32\hello.txt), has_acls(1) > Unable to start 'hello.txt': The specified file was not found. > > It seems it is looking at the wrong directory. > Indeed it does... What is the current directory? $ pwd $ cmd /c pwd Can you please attach "cygcheck -s -v -r" (see http://cygwin.com/problems.html)? - 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 |