Re.[Oberon] Native24.08.2002:Copy files from FAT-partitions
cglur at onwe.co.za
cglur at onwe.co.za
Fri Sep 20 20:46:27 CEST 2002
Stefan Salewski wrote:
> I can mount FAT-16 Partitions, but I can
> not find the command to copy files from this
> Partition to the Oberon partition.
>
> Can somebody give me an example?
For alpha 2001 I get:-
Partitions.Show ~ ==
....
IDE1#01 503MB 6 * DOS FAT16 >= 32M
OFSTools.Mount D FatFS IDE0#01 ~ == D: mounted
System.Directory D:* ==
....
D:HDWD84AA.BAK/ <--- just one of the entries
....
OFSFATTools.ChangeDir "D:HDWD84AA.BAK/" == { Must use "" chars}
Changing directory D:HDWD84AA.BAK/...ok
OFSFATTools.CurrentDir D: ==
Current directory D:/HDWD84AA.BAK/ <-- just to confirm
I find this unintuitive D: is now 2 different 'things'.
System.Directory D:* ==
......
D:PLOT40.STH/ <-- actually: IDE1#01/HDWD84AA.BAK/PLOT40.STH/
......
OFSFATTools.ChangeDir "D:PLOT40.STH/" ==
Changing directory D:PLOT40.STH/...ok
System.Directory D:* ==
....
D:MG-REPOT.URL
D:APRIL-99.QRY
D:JUNE-99.LOG
D:CATTEL99.TIM
...
Edit.Open D:CATTEL99.TIM or just MM/MR on File name == OK
loads D:CATTEL99.TIM
to a viewer where you can change its name plate and save to
n-o partition. OR
System.CopyFiles D:CATTEL99.TIM => FromDOSpartn ~
?? Can it handle DOS-fileNames ??!
Edit.Open "D:JUNE-99.LOG" <___ No!!
This is a serious omission ?
Reading FAT FS needs to read FAT FileNames, like previous DOS.Copy
was able to do.
-- Chris Glur.
More information about the Oberon
mailing list