Whats the command to copy a specific file as a new named file

Greetings Gurus, I'm trying to copy a specific file (not the selected file)
The command I have below does not work. Please assist.

Copy "c:\royal.txt" DUPLICATE as "A:\Backup.txt" RENAMEWHENSAME WHENEXISTS=rename
Copy "c:\royal.txt" TO "A:\" AS "Backup.txt" WHENEXISTS=rename

Thanks Leo

1 Like