Forums > MaxMSP

[sharing] does a file or folder exist?

Feb 17 2012 | 1:01 am

This little patch takes a file or folder path and returns 1 if it exists or 0 if it does not. It also returns 0 if it is an existent folder that is empty.

Tell me, does an empty folder really exist? Think about it.

-- Pasted Max Patch, click to expand. --

Feb 17 2012 | 1:19 am

What a waste of objects. check this out.

-- Pasted Max Patch, click to expand. --


Feb 17 2012 | 1:38 am

If only I had known, I used up my last [zl sub] to make that! I also wasted a half-hour thinking about whether empty folders really exist.

Thanks for pointing out that feature of absolutepath.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP