std-ft-copy


Synopsis

(std-ft-copy <from-fname> <to-fname>)

Description

std-ft-copy copies a textfile to another. It could also be done with std-file-copy but does not need any external module. It uses only standard AutoLISP functions like read-line and write-line and will not work with any binary file.

Example

(std-ft-copy "TEST.INI" "TEST.BAK")

Arguments

from-fname,to-fname: Filenames. Partial or fully qualified filename specifiers without wildcards.

Return Value

T on success or nil.

Side Effects

On success it copies a textfile with plain AutoLISP functions only.

Module

(std-require 'STDFILE)

#- SMALL

Defined in STDFILE