Quote:
Originally Posted by mgpai
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
|
This didn't seem to work either I'm afraid - it left the downloaded folder (and contents) in
F:\!Downloads\JDownloader2\MovieFolderName\Movie.mkv
And I would have expected it to go to:
F:\!Downloads\JDownloader2\_COMPLETE\MovieFolderName\Movie.mkv