kontrare wrote:
i dont know if this will help but i seem to remember
doing a bit of coding a ways back and using
fopen("c:\filename","r+b") in dos it wouldn't see the
file till i did fopen("c:\\filename","r+b") so it may be
the doshell is eating the first backslash
This has to do nothing with dosshell neitherwith DOS or anything else of that kind.
The special chars in C must be prepended with
the backslash which discards their special
meaning or adds a special meaning to a normal
chars. Backslash itself is a special char also.
Just run the program like that:
---
#include <stdio.h>
int main() {
printf("test\test\n");
}
--- The result will be: test est
and with "test\\test\n" it will finally be test\test
- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
