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

tim vets timvets at gmail.com
Tue Nov 8 12:32:28 CET 2011


2011/11/8 Ingo <ingo at miamiwave.com>

>
> >>> - 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.
> >>
> >> [mkdir $1(--[popen] ?
> >
> >I wonder if that works on Windows?  Anyone tested it?  Someone could
> >probably make  [mkdir] object quite quickly using pdlua or tclpd.
> >
> >.hc
>
> I just tested it on WinXP. I could create a directory in the folder of the
> patch but not a subdirectory. Not sure if it has anything to do with the
> slash vs. backslash issue.
>
> Ah, true, I didn't think of that.
I found a workaround though (see attachment), but it's getting absurdly
complicated for just doing mkdir...




> Ingo
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111108/1c053cac/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdir_windows.pd
Type: text/x-puredata
Size: 912 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111108/1c053cac/attachment.bin>


More information about the Pd-list mailing list