Media Manager

The Media Manager is a command line tool to handle several emulator media formats.

The Media Manager is entirely controlled by arguments passed to it:


    mediamanager.exe [-d64 <disk image>]
                     [-t64 <tape file>]
                     [-import <file name>[,load address]]
                     [-export <file name>]
                     [-renameto <file name>]
                     [-listfiles]
    
load address can be given as decimal, hexadecimal (prefix $ or 0x)
The filename given to -renameto is used for the actually written file when exporting
The filename given to -renameto is used for the file info entry when importing

-d64 <disk image>

Sets the media manager in disk (.d64) mode and sets the image filename to the following argument

-t64 <tape file>

Sets the media manager in tape (.t64) mode and sets the image filename to the following argument

-import <file name>[,load address]

Imports a file in the selected medium. The used load address defaults to $0801, but can be overridden by adding ,loadaddress to the filename.
-renameto can be used to override the file name inside the medium.

The load address is interpreted as decimal unless $ or 0x is prefixed, then it is treated as hexadecimal.

-export <file name>

Exports a file with the passed name from the medium. If -renameto is not set the actually written file uses the same file name as inside the medium.

-renameto <file name>

Can be used to override the defaulting file name for export/import.

-listfiles

List all contained files in the passed medium.