![]() |
![]() |
file.copyMakes a copy of a file |
Syntax |
|
Description |
Makes a copy of the <source> file as <destination>. If the [-o] switch is used , the <destination> file is overwritten , if already exists. With no [-o] switch , this command does not overwrite files. The destination path must be already existing: if you want to ensure this, use $file.mkdir first. The paths (<source> and <destination>) are adjusted according to the system that KVIrc is running on so you don't have to bother about portability: it *should* be automatically guaranteed. Just use UNIX style paths for them. |
See also |
file.rename, $file.exists() |