how get selected folder files count?

Discuss and share scripts and script files...
highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how get selected folder files count?

Post by highend »

full script please im newbie dear master.

Code: Select all

...

$fileCount = foldersize($file, <r>);$fileCount2=formatbytes("$fileCount", "FLEX");

<my posted lines>

$newName = $fileCount2."-" . getpathcomponent($file, "file");
and 2nd wish
Help file - Advanced Topis - Scripting - Multi-line Scripts and Multi-Scripts
One of my scripts helped you out? Please donate via Paypal

drjs5x
Posts: 153
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how get selected folder files count?

Post by drjs5x »

""
"Seçilen Klasörleri Boyutsal İsimlendir|up.ico|0" setting "BackgroundFileOps", 0; foreach($file, "<get SelectedItemsPathNames |>") {$fileCount = foldersize($file, <r>);$fileCount2=formatbytes("$fileCount", "FLEX");$newName = $fileCount2."-" . getpathcomponent($file, "file");renameitem($newName, $file , "-01"); }
""

i can ... only one line.... :))) "script title|icon.ico|0" a;b;c;d;e;

super....

thank you very much dear you are big coder master coder!!!!!!!!!!!!!!!!!!!! really thanks!!!!!!!!!!!
newbie or not...........

Post Reply