DOS copy command
Posted: Tue Nov 07, 2023 7:56 pm
Hi!
I'm using channel 15 to send dos commands:
lda #2 ; Logical Number
ldx #8
ldy #15 ; 15=control channel
jsr SETLFS
Creating a directory, renaming a file etc works just fine. But I can't figure out how to copy a file.
Docummentation states this:
C[path_a]:target_name=[path_b]:source_name[,...]
An example I've found uses this:
C:TARGET=SOURCE
Whatever I try I always get a syntax error.
Does anyone know the correct syntax?
I'm using channel 15 to send dos commands:
lda #2 ; Logical Number
ldx #8
ldy #15 ; 15=control channel
jsr SETLFS
Creating a directory, renaming a file etc works just fine. But I can't figure out how to copy a file.
Docummentation states this:
C[path_a]:target_name=[path_b]:source_name[,...]
An example I've found uses this:
C:TARGET=SOURCE
Whatever I try I always get a syntax error.
Does anyone know the correct syntax?