Author: jjk
Subject: How to backup automatically by button
Posted: Tue Jun 14, 2016 1:36 pm (GMT -6)
Hi all
I want to copy regularly some files to c:\bkp, without open a tab for c:\bkp.
I created a button
That's OK for one source file.
Note that I have added /-Y to get warning in case of overwriting. If same file exists already, DOS windows opens and prompts whether I overwrite or skip. That behaviour is quite annoying also.
If I use %P%S to copy many source files (all in the same source pane), cmd uses copy file1 file2 file3... c:\bkp, that fails of course.
So how to copy the selected files from source pane to c:\bkp (always the same dir) without open tab c:\bkp in target pane ? And, if possible, how to manage overwritings semi-automatically ?
Thanks in advance
Subject: How to backup automatically by button
Posted: Tue Jun 14, 2016 1:36 pm (GMT -6)
Hi all
I want to copy regularly some files to c:\bkp, without open a tab for c:\bkp.
I created a button
Code: |
TOTALCMD#BAR#DATA cmd.exe /c copy /-Y %P%N c:\bkp C:\TotalCmd9\TOTALCMD.EXE,14 |
That's OK for one source file.
Note that I have added /-Y to get warning in case of overwriting. If same file exists already, DOS windows opens and prompts whether I overwrite or skip. That behaviour is quite annoying also.
If I use %P%S to copy many source files (all in the same source pane), cmd uses copy file1 file2 file3... c:\bkp, that fails of course.
So how to copy the selected files from source pane to c:\bkp (always the same dir) without open tab c:\bkp in target pane ? And, if possible, how to manage overwritings semi-automatically ?
Thanks in advance