home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 554 
 Alexander Grotewohl to Chad Adams 
 Re: Copy File 
 03 Sep 22 06:20:08 
 
TID: Mystic BBS 1.12 A47
MSGID: 1:120/616 2711842c
REPLY: 1:19/37 5bfc6e37
TZUTC: -0400
On 02 Sep 2022, Chad Adams said the following...
 
 CA> Does anyone know a function that will allow you to copy one file to
 CA> another location?
 CA> CopyFile(File, File2);

documentation for blockread/blockwrite usually has an example implementatiom
of that function

freepascal:

https://www.freepascal.org/docs-html/current/rtl/system/blockread.html

virual pascal's built in help includes almost the same i think, but i can't
double check from my phone..

note that the example works but leaves out a lot of checks you might want to
do (does the file already exist at destination? did errors occur? etc) but if
it's for something simple it might not matter..

... Error, no Keyboard - Press F1 to Continue.

--- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
 * Origin: cold fusion - cfbbs.net - grand rapids, mi (1:120/616)
SEEN-BY: 1/123 15/0 80/1 90/1 103/705 106/201 114/709 120/340 616
SEEN-BY: 123/10 131 124/5016 129/305 331 153/757 7715 154/10 30 40
SEEN-BY: 154/50 700 203/0 218/700 220/90 221/0 1 6 226/18 227/114
SEEN-BY: 227/201 229/111 112 113 206 275 317 400 424 426 428 470 550
SEEN-BY: 229/616 664 700 240/5832 266/512 280/464 5003 282/1038 292/854
SEEN-BY: 292/8125 301/1 317/3 320/219 322/757 335/364 341/66 234 342/200
SEEN-BY: 396/45 423/120 460/58 633/280 712/848 770/1 2320/105 3634/12
PATH: 120/616 154/10 280/464 292/854 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca