Hi Enrico, >> [after] dos_cd ("C:\hello\world"); >> dos_open ("C:\hello\world\my_file.txt", O_RDWR | O_CREAT, 0); [ok] >> dos_open ("my_file.txt", O_RDWR | O_CREAT, 0); [fails] > > As discussed earlier, dos_open is a bit "lowlevel" if you look > at DosOpenSft, you will find that it calls truename. The truename > function does things like add the current drive letter and current > directory name, resolve ".." and ".", and make name handling case > insensitive. As with your previous upper / lower case problem, > the solution is again to use more truename code in your dos_open.
Why don't you implement the Truename functions, AFAIU it is essencial to dos working and are used a lot by bot freedos internals, but also by compilers' librariyes. Alain ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel