Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Terry's API Corner - Copy file

From: depotcity::telus::net at: 15-Jun-2001 20:16

;Copy a file from one source to another. (win) a: %/c/winnt/system32/kernel32.dll b: load/library a c: "CopyFileA" r: make routine! [ IpExistingFileName [string!] IpNewFileName [string!] ] b c ;Takes two strings, the file to copy and dir and name of the new file. R "C:\file-to-copy.txt" "D:\new-file.txt" ;Terry Brownell