what's wrong with this read message to coll

ctrlzjones's icon

sprintf read /Users/ctrlzjones/Desktop/_Projects/Max:MSP 2026/BeatMe2022/Archive/Presets/WordCutColls/%s

Those are the error messages I receive...

coll: extra arguments for message "read"

coll: can't find file /Users/ctrlzjones/Desktop/_Projects/Max:MSP

TFL's icon

You have a space in your path, so it gets interpreted as two arguments.

Instead do [sprintf symout /Users/ctrlzjones/Desktop/_Projects/Max:MSP 2026/BeatMe2022/Archive/Presets/WordCutColls/%s]

and put a [prepend read] just after.

The symout argument for [sprintf] will make the output to be a single symbol (equivalent to throwing a [tosymbol] after [sprintf]).

Source Audio's icon

Max:MSP

: can not be used in folder path

ctrlzjones's icon

You were both right, obrigado.