Quote:
Originally Posted by Artex
I think I was unclear
|
I have created the script based on the example you provided, in which the destination folder is not a sub-folder of the source folder, but an entirely different one.
Try replacing this:
Code:
var newFolder = downloadFolder.replace("C:\\Downloads", "C:\\myFolder\\MovedFiles"); // case-sensitive
with this:
Code:
var newFolder = downloadFolder.split("F:\\!Downloads\\JDownloader2\\").join("F:\\!Downloads\\JDownloader2\\_COMPLETE\\");// case-sensitive