rename file from clipboard

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: rename file from clipboard

Post by swan_x »

different script but same conceptual error....

Image

try with 2 different folder with same number of files inside, but the result is always the same as shown in the figure above...

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: rename file from clipboard

Post by swan_x »

script work fine if i add one another files to folder2...
then x files on folder1------x+1 files on folder2 work fine.
but this is a bug of xy.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: rename file from clipboard

Post by highend »

There is no bug in XY.

Replace this line:
$cntClp = trim(gettoken($clp, "count", <crlf>), <crlf>, "R");
with
$cntClp = gettoken(trim($clp, <crlf>, "R"), "count", <crlf>);
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: rename file from clipboard

Post by swan_x »

oh yesssss!!!

finally work fine! very tanxs for your support! Regards

Post Reply