[sharing] does a file or folder exist?

mharter's icon

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.

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

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

11OLSEN's icon
Max Patch
Copy patch and select New From Clipboard in Max.

What a waste of objects. check this out.

O.

mharter's icon

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.

notsteve's icon

Yeah, but the first one actually works.