# [PD] bat path

Patrice Colet pat at mamalala.org
Tue Apr 8 03:22:46 CEST 2008

hi,

Hans Roels a écrit :
> hello,
>
> I have a question about starting pd from a batch file on windows
> (xp). For example I have a folder called 'abunch' with a file
> 'slice'. I add this folder in the .bat file:
> -path ../patch/own/les/abunch
>
> When I start pd from this batch file and open a new file, and try to
> load the object 'slice', pd can't find this.
>
> If I add this same "../patch/own/les/abunch" in the pd main window
> under File > path, press save settings and restart PD, I can load
> this 'slice' object in a new file without problems.
>
> What's the difference? What I see in the PD main window under path is
> two times exactly the same!!!

not really the same, because the .. starts from where you start the bat
file, for having this path to work you would have to start it from pd/bin

I usually put cd path\to\pd\bin before starting pd for avoiding this
>
> (I'm using 0.40.2)
>
> Hans r
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list