Page 2 of 2
Re: how get selected folder files count?
Posted: 20 Nov 2015 12:50
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
Re: how get selected folder files count?
Posted: 20 Nov 2015 12:59
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!!!!!!!!!!!