Next: DiskFree
Up: Functions and Procedures
Previous: Functions and Procedures
Procedure AddDisk (Const S : String) ;
AddDisk adds a filenme S to the internal list of filenames.
This list is used to determine which disks to use in the DiskFree
and DiskSize calls. The names are added sequentially. The dos
initialization code presets the first three disks to:
- '.' for the current drive,
- '/fd0/.' for the first floppy-drive.
- '/fd1/.' for the second floppy-drive.
- '/' for the first hard disk.
The first call to AddDisk will therefore add a name for the second
harddisk, The second call for the third drive, and so on until 23 drives
have been added (corresponding to 'D:' to 'Z:')
None
DiskFree, DiskSize
Michael Van Canneyt
Tue Mar 31 16:46:10 CEST 1998