I'm running cygwin on Win2k. In cygwin, I built a C program called prog, which takes a number and a file as cmdline parameters. prog is in /usr/coding. If I save the input file in that directory, then it runs fine.
But when I try to run it by typing:
prog 2 /usr/coding/test/filename, it fails. I get that one of the functions in prog cannot open the file. Strangely, though, when I type something like "ls /usr/coding/test" it's there. Even stranger, I can run it by typing the Windows path of the filename. Might someone have an idea of whats going on? Thanks