[Info-vax] Java portability and VMS

Arne Vajhøj arne at vajhoej.dk
Fri Feb 18 17:10:08 EST 2011


On 18-02-2011 09:03, Bill Gunshannon wrote:
> In article<4d5e7712$0$23755$14726298 at news.sunsite.dk>,
> 	Arne Vajhøj<arne at vajhoej.dk>  writes:
>>
>>
>> Opening a file with the name C:\test.txt on Unix does not
>> work well either.
>
> Actually, Unix could care less about those naming conventions.
> As long as the file exists it will open it just fine.
>
>
> server2# mkdir C:
> server2# ls -l
> total 2
> drwxr-xr-x  2 bill  staff  512 Feb 18 08:58 C:
> server2# touch C:/dummy.txt
> server2# ls -l C:
> total 0
> -rw-r--r--  1 bill  staff  0 Feb 18 08:58 dummy.txt
> server2# find .
> .
> ./C:
> ./C:/dummy.txt

/ != \

But even with the correct slash then the code will not do
what was intended.

Arne



More information about the Info-vax mailing list