Previous: Executing shell commands, Up: c1541 [Contents][Index]

### 14.5 c1541 examples

`c1541 -attach test.d64 -list`

  Attach `test.d64` and show directory.

`c1541 -attach test.d64 -write test.prg testfile`

  Write `test.prg` to `test.d64` as `testfile`.

`c1541 -format "name,id" d64 disk.d64`

  Create a disk image in `d64` format, format it with the `name` and `id` and save it to `disk.d64`.