>Hi,
>
>In my APP there are several files included. This is a kind of a file manager application.
>Now my problem is, if the user wants to read/write a file that is included in the project/APP but also exists on disk. For example there is a logo.jpg in the APP and there is a c:\somewhere\logo.jpg on disk.
>
>The point is, how-to read a file on DISK that has the same name as a file included in the APP.
>
>I already made a work-around for file() with sys(2000), strtofile works fine, but I still cannot read the file on disk back. filetostr() and the low-level (fopen, fread) functions return the contents of the included file.
>
>please help
I learnt this the hard way, just like you have done. I always give the included files obscure names, like dwzx23f9.zxw