AIMP Forum

AIMP for PC => Вопросы / Questions => Topic started by: mathiross on March 17, 2021, 14:38:58

Title: Grand parent directory %FileParentDir
Post by: mathiross on March 17, 2021, 14:38:58
Hi everyone,
is there a syntax to obtain the second or third parent directory?

For exemple, in this filepath:

folder2/folder1/file.mp3

It would return "folder2" for the second directory
If it doesn’t exist, would it be possible to add the syntaxes %FileParentDir2 %FileParentDir3 %FileParentDir4 ... ??

Thanks for help

Mat’
Title: Re: Grand parent directory %FileParentDir
Post by: Artem on March 17, 2021, 18:27:51
Ok, I will
Title: Re: Grand parent directory %FileParentDir
Post by: mathiross on March 17, 2021, 21:18:34
Excellent ! Thanks a lot !
I forgot to tell you that I especially need this new syntax for the Aimp converter but I suppose it will anyway affect both.

Have a nice coding and thanks again
Mat
Title: Re: Grand parent directory %FileParentDir
Post by: mathiross on May 19, 2021, 13:26:14
Hello here !
Some news of this function?
thx,
Mat
Title: Re: Grand parent directory %FileParentDir
Post by: Artem on May 19, 2021, 13:26:29
I afraid no
Title: Re: Grand parent directory %FileParentDir
Post by: mathiross on May 19, 2021, 13:42:26
Ok, no worry !
Title: Re: Grand parent directory %FileParentDir
Post by: mantotheworld on December 05, 2021, 09:44:28
Are there any new updates regarding this function?