Page 1 of 1

Creating folders with increment

Posted: 03 Dec 2022 15:53
by Ysl
Hi

Is it possible to create Folders with incremental numbers ?

Like :

"Volume 100"
"Volume 101"
"Volume 102"
.....

For example from 100 to 200 ?

Thanks for your help

ysl

Re: Creating folders with increment

Posted: 06 Dec 2022 15:38
by Norn

Code: Select all

 for($i = 100; $i<201; $i++) {
     new("Volume $i", dir)
     }

Re: Creating folders with increment

Posted: 07 Dec 2022 15:25
by Ysl
Thank you very much ! Working fine :)