X-Spam-Check-By: sourceware.org Message-ID: <20060416014133.40463.qmail@web38110.mail.mud.yahoo.com> Date: Sat, 15 Apr 2006 18:41:33 -0700 (PDT) From: The One Subject: Re: Not sure what the problem is... To: cygwin AT cygwin DOT com In-Reply-To: <44419C24.37C47161@dessent.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 dah, thanks brian it's missing sh.exe on the system. --- Brian Dessent wrote: > The One wrote: > > > Well, I'm runing the program on computer that does > not > > have cygwin installed. I just put a copy of the > > cygwin1.dll in the windows path. > > How do you expect this to work if you don't have > Cygwin installed? At > the very least you'll need /bin/sh and /bin/ls, > since system("foo") just > calls '/bin/sh -c "foo"'. Have you checked the > return value of > system()? Always check return values. > > > I couldn't get it to recognize /cygdrive/c/mydir > or > > /c/mydir since cygwin is not installed on the > > computer. I tried adding the mount v2 info in the > > registry but that didn't work. I would appreciate > > very much if you can help me to get it to > recognize > > posix path. > > /cygdrive is the default, so it shouldn't matter > that there is no mount > table. (By the way, always use mount and umount > instead of manipulating > the registry directly.) I don't think posix vs. > win32 paths is actually > the problem here, and "c:/mydir" ought to work for > what you're trying to > do... it's just not a great habit to get into. > > Brian > > -- > 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/ > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/