Creating folders with increment

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Ysl
Posts: 150
Joined: 03 Jan 2007 22:22

Creating folders with increment

Post 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

Norn
Posts: 415
Joined: 24 Oct 2021 16:10

Re: Creating folders with increment

Post by Norn »

Code: Select all

 for($i = 100; $i<201; $i++) {
     new("Volume $i", dir)
     }
Win10, Win11 @100% 2560x1440 22H2

Ysl
Posts: 150
Joined: 03 Jan 2007 22:22

Re: Creating folders with increment

Post by Ysl »

Thank you very much ! Working fine :)

Post Reply