Re: move to sibling
Posted: 29 May 2018 14:05
when the selected folder and the destination folder have different symbols in the beginnings of their names (for example, band15 and band20), then nothing happens after i run the altered script (with or without the step; command)
so i cannot tell you at which line it fails
$newName = gettoken($folder, 2, " ", , 2); result: nothing happens
$newName = gettoken($folder, 2, ",", , 2); result: nothing happens
$newName = gettoken($folder, 2, "//", , 2); result: nothing happens
$newName = gettoken($folder, 2, "<crlf>", , 2); result: nothing happens
$newName = gettoken($folder, 2, "", , 2); result: Error: The process cannot access the file because it is being used by another process
so i cannot tell you at which line it fails
then please say what is the correct separator in this case. if we really need the separator (despite the fact that we don't really have to rename anything in this example)all parts of a file folder are separated via a single space
$newName = gettoken($folder, 2, " ", , 2); result: nothing happens
$newName = gettoken($folder, 2, ",", , 2); result: nothing happens
$newName = gettoken($folder, 2, "//", , 2); result: nothing happens
$newName = gettoken($folder, 2, "<crlf>", , 2); result: nothing happens
$newName = gettoken($folder, 2, "", , 2); result: Error: The process cannot access the file because it is being used by another process