Copy


Copy srcfile$, destfile$

This command creates a copy of srcfile$ and creates a new file called destfile$. An error is generated if srcfile$ does not exist or if destfile$ already exists.

Here is an example of how to copy over an existing file:


If isFile("backup.txt") Then Delete "backup.txt"
Copy "data.txt", "backup.txt"



Rename


Delete


ChDir


RootDir






Become a Patron