Mail Archives: djgpp/1996/08/23/08:41:31
In article <3219B4F3 DOT 2A41 AT iti-oh DOT com> bjs AT iti-oh DOT com "Brian Sayatovic" writes:
>Cs3prj Group 04 wrote:
>>
>> Under UNIX, can you pass a file name with a path to fopen? If so how do you
>> do it? I know that, under DOS, you do it like so :
> c:\\directory\\filename.ext.
>
>
>You sure can. On most UNIX file systems, you would use
>"/path/name/file.name". The only difference is that most UNIX operating
>systems use a forward slash instead of a backslash.
All Unix OSs do, and DOS accepts forward slashes too. It is only
COMMAND.COM that requires backslashes.
--
-----------------------------------------
Lawrence Kirby | fred AT genesis DOT demon DOT co DOT uk
Wilts, England | 70734 DOT 126 AT compuserve DOT com
-----------------------------------------
- Raw text -