Page 1 of 1

how can i new folder with script with suffix ?

Posted: 13 Apr 2016 20:23
by drjs5x
hi dears
how can i do this ?

new("NewFolder", "dir");

how can new dir NewFolder00001 NewFolder00002 NewFolder00003........... etc


pls hepl thanks

Re: how can i new folder with script with suffix ?

Posted: 13 Apr 2016 20:30
by highend

Code: Select all

    $num = 15;
    while ($i++ < $num) { new("NewFolder" . format($i, "00000"), "dir"); }