I'm trying to use copyto to copy all of my XYplorer data files to a backup directory. The example below doesn't work. I want to do this without having to select the files first. Am I getting close?
copyto "C:\Users\bernie\AppData\Roaming\XYplorer", "C:\Users\bernie\Desktop\XYplorer";
How to use copyto to copy files from one directory to another?
Re: How to use copyto to copy files from one directory to another?
But you know that you've used
copyto [source], [location]...
instead of
copyto [location], [source]...
?
copyto [source], [location]...
instead of
copyto [location], [source]...
?
One of my scripts helped you out? Please donate via Paypal
Re: How to use copyto to copy files from one directory to another?
I think you just have the paths the wrong way round.
copyto [location], [source],
copyto [location], [source],
Code: Select all
copyto "C:\Users\bernie\Desktop\XYplorer", "C:\Users\bernie\AppData\Roaming\XYplorer";
Re: How to use copyto to copy files from one directory to another?
I use a script like this to create backups of XY:
which then creates the following folder (example) with all the necessary data in it to restore your current XY environment:
D:\Daten\Backup\XYplorer\XYplorer v18.90.0125 (on 2018-05-11)
(with D:\Daten\Backup\XYplorer being my <path to backup location> in the command above)
Code: Select all
copyto "<path to backup location>\XYplorer v<xyver> (on <date yyyy-mm-dd>)", "<xypath>|<xydata>", , , 2"";
D:\Daten\Backup\XYplorer\XYplorer v18.90.0125 (on 2018-05-11)
(with D:\Daten\Backup\XYplorer being my <path to backup location> in the command above)
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: How to use copyto to copy files from one directory to another?
Thank you.RalphM wrote:I use a script like this to create backups of XY:
which then creates the following folder (example) with all the necessary data in it to restore your current XY environment:Code: Select all
copyto "<path to backup location>\XYplorer v<xyver> (on <date yyyy-mm-dd>)", "<xypath>|<xydata>", , , 2"";
D:\Daten\Backup\XYplorer\XYplorer v18.90.0125 (on 2018-05-11)
(with D:\Daten\Backup\XYplorer being my <path to backup location> in the command above)