[PD] clear console command + create folder from Pd?

João Pais jmmmpais at googlemail.com
Tue Nov 8 12:46:24 CET 2011


>> - is there any object that allows to create a folder (in all OSs)? I  
>> wanted to save files to a non-existing folder, but Pd doesn't create  
>> one.
>
> You could probably use Tcl's mkdir and send it to the GUI:
>
> [file mkidr /path/to/mynewfolder(
> |
> [hcs/sys_gui]

this works, but only if I give a complete path, not a relative one. I can  
get the patche's current path with tof/path, but I read that tof isn't  
included in the next versions? Is it possible to get the current path  
through other methods?

João



More information about the Pd-list mailing list