COPY - source-solutions/HELP GitHub Wiki

COPY


COPY file_spec_1 TO file_spec_2

Copies the disk file file_spec_1 to file_spec_2.

Parameters

The string expressions file_spec_1 and file_spec_2 are valid FILESPEC file-specifications indicating the source and destination files. The first must point to an existing file on a disk device.

Notes

Typically, this command is not present in Microsoft BASIC.

Errors

  • file_spec_1 or file_spec_2 have number values: Type mismatch
  • file_spec_1 does not exist: File not found
⚠️ **GitHub.com Fallback** ⚠️