Search code examples
emulationc64

How to define file type using c1541 -write command (VICE)


I'm trying to copy foo.txt file to disk.64 image using c1541 utility.

I've tried to write:

c1541 disk.d64 -write foo.txt foo

The file is copied but as foo.prg

How can save it using SEQ or USR types? I've tried:

c1541 disk.d64 -write foo.txt foo.seq

only to find that the file is copied as foo.seq.prg.


Solution

  • Try c1541 disk.d64 -write foo.txt "foo,s" for SEQ-files and c1541 disk.d64 -write foo.txt "foo,u" for USR-files.