Article # 249, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
FileMove() an example
To move a file, use the FileMove() routine. The following example should help illustrate how the routine is used. Both examples move the file "somefilename" from Document\Download to System\Printer. The difference is in the standard path used as a starting point for the source and destination DiskHandle. (StandardPaths can always be used as DiskHandles to reference a specific standard GEOS directory.) FileMove("Document\\Download\\somefilename", "System\\Printer\\somefilename", SP_TOP, SP_TOP); FileMove("Download\\somefilename", "somefilename", SP_DOCUMENT, SP_PRINTER_DRIVERS);