syntax <cursize>, can't use for rename each file.
Posted: 18 Dec 2015 04:05
syntax <cursize>, can't use for rename each file.
it just rename for one file.
can explain of this?
it just rename for one file.
can explain of this?
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
foreach($file, <get SelectedItemsNames |>) {
$size = property("size", $file);
$size = filesize($file);
}Code: Select all
<prop System.Size>-> No <prop System.Size>use for rename each file
Code: Select all
*-<datem yyyy.mm.dd>_<prop System.Size>_bytesadmin wrote:Yes, if you are looking for a Batch Rename pattern with a filesize variable, this works:Code: Select all
*-<datem yyyy.mm.dd>_<prop System.Size>_bytes
Thank youhighend wrote:Both commands can be used to get the size of the current fileCode: Select all
foreach($file, <get SelectedItemsNames |>) { $size = property("size", $file); $size = filesize($file); }
Thank youSammaySarkar wrote:useCode: Select all
<prop System.Size>