Code: Select all
run "<xy> /new /win=tray /script=""::sync 'D:\original_folder', 'G:\sync_folder', 1, 0, 1;if(get('instance')=='2'){exit 'n';}""", , 2, 0;
status "Sync operation completed successfully";
Once the user has established the folders and options desired, we could build scripts to run syncing operations completely in the background (i.e., in a second instance of XYplorer). Syncing folders in a second instance works fine as it stands now, but not having the progress box come up would be ideal or another possibility would be to have the progress box only pop up when the syncing is complete. Note switch 'k' keeps the progress dialog open after the operation. A new switch possibility could be to only have the box come up only after completion of the operation or not at all. Thanks.