delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/15/12:00:55

X-Spam-Check-By: sourceware.org
Message-ID: <20060415160045.32766.qmail@web38112.mail.mud.yahoo.com>
Date: Sat, 15 Apr 2006 09:00:45 -0700 (PDT)
From: The One <i51359 AT yahoo DOT com>
Subject: Not sure what the problem is...
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hi
 
I have this C program running on windows xp and it's
calling system("ls -la c:\mydir >
c:\mydir\tmp\lookup.txt") to list "mydir" and pipe the
result to a file "lookup.txt" the subdirectory "tmp".
 
For some reason it's not able to create the file
"lookup.txt" on this particular computer.  The same
program works on my other computers running windows
xp.
 
However, if I execute "ls -la c:\mydir >
c:\mydir\tmp\lookup.txt" in a command prompt, it works
fine.  Thus it's not a permissions issue...
 
What could be missing on this computer?
 
Thank you


__________________________________________________
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019