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]

Not sure what the problem is...


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/


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