Problem writing buffer to quoted file path with spaces

soda's icon

soda

12月 03 2011 | 8:15 午前

Hi,

I've read through many posts about properly placing quotations around file paths that contain spaces, and I believe I'm doing this correctly. However, I'm still having a problem with buffer~ not interpreting the file path correctly and resulting in an error that indicates the quoted file path argument to writeaiff is being interpreted as multiple arguments. If I enter the same message in a message object and trigger it, the buffer is successfully saved to the file. The enclosed patcher demonstrates the behavior I'm seeing. Could anyone offer a solution?

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks,
Steve

Chris Muir's icon

Chris Muir

12月 03 2011 | 8:23 午前

replace your sprint to this: sprintf symout %s/file%d.aiff

soda's icon

soda

12月 03 2011 | 9:15 午前

I could've sworn I had tried that. Thanks a lot Chris!