X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <491CE65C.4080709@cygwin.com> Date: Thu, 13 Nov 2008 21:45:48 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Fedora/2.0.0.16-1.fc8 Lightning/0.9 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Defrag and some other exe not seen by cygwin on XP64 References: <5369FDACFFACA04182E47E00D46B71810A959C4EB1 AT LAX-EXCH03 DOT spimageworks DOT com> In-Reply-To: <5369FDACFFACA04182E47E00D46B71810A959C4EB1@LAX-EXCH03.spimageworks.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Bruce Dobrin wrote: > This is weird > > I couldn't find it in my search of the site; > > I was on a XP64 machine and tried to run the defrag command from the Cygwin shell and it could not locate the command. I could see the command via the cmd shell. Below I cd usng the cmd shell on 64bit XP and using ls it is not seen and dir it is seen: > > C:\WINDOWS\system32>ls |grep defrag > > C:\WINDOWS\system32>dir |grep defrag > 02/16/2007 08:33 PM 35,840 defrag.exe > > C:\WINDOWS\system32>cacls defrag.exe > C:\WINDOWS\system32\defrag.exe BUILTIN\Administrators:F > NT AUTHORITY\BATCH:R > Everyone:R > NT AUTHORITY\INTERACTIVE:R > NT AUTHORITY\SERVICE:R > NT AUTHORITY\SYSTEM:F > > I then copied the file in the cmd shell to c:\cygwin\ and then Cygwin can see it there: > > dobrin AT dodo:/c/WINDOWS/system32> ls -al ./defrag > ls: cannot access ./defrag: No such file or directory > dobrin AT dodo:/c/WINDOWS/system32> cd / > dobrin AT dodo:/> ls -al ./defrag > -rwx------+ 1 dobrin Domain Users 35840 Feb 16 2007 ./defrag > > I confirmed that this isn't an issue on XP32 or Vista > > > And Ideas? Yes. Call up a 32-bit cmd prompt and repeat the same tests. You'll see the same results. The 32-bit world cannot see the 64-bit world. In other words, this is not Cygwin specific. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/