Re: Not sure what the problem is...

2006-04-15 Thread The One
dah, thanks brian it's missing sh.exe on the system. --- Brian Dessent <[EMAIL PROTECTED]> 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

Re: Not sure what the problem is...

2006-04-15 Thread Brian Dessent
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")

Re: Not sure what the problem is...

2006-04-15 Thread The One
Hi, 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. My typo, I do have it like this system("ls -la c:\\mydir > c:\\mydir\\tmp\\lookup.txt") as I mentioned in my post, the same program runs in other compute

Re: Not sure what the problem is...

2006-04-15 Thread The One
Hi, 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. My typo, I do have it like this system("ls -la c:\\mydir > c:\\mydir\\tmp\\lookup.txt") as I mentioned in my post, the same program runs in other compute

Re: Not sure what the problem is...

2006-04-15 Thread Brian Dessent
The One wrote: > 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". Well for one thing, in C if you want a backslash in a string constant you need

Not sure what the problem is...

2006-04-15 Thread The One
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