Meant the below message to go to the whole community.
----- Original Message -----
Below, I have pasted the help text from XCopy. There you will see all the
possible switches. And, I will give you just a couple of examples here,
which might get you started. Should you, or anyone else, need further help
please contact me.
For the matter of ease, I will asume you are familiar with how to make a
batch-file, or run things from the Run-menu.
XCopy C:\*.txt c:\backup /d
Copies all .txt files from the root of C:, into a folder named C:\backup.
It checks to see, if the individual file already exists in the target
folder, and if so, if the one to be copied is of any newer date. If so, it
will copy it. All files that are not of newer date than their
correspondants in the target folder, will be left alone. Mind you, every
time you save a file, after updating its contents, the time stamp of the
file will be set.
XCopy C:\\MyFiles\*.* C:\Backup\. /S
Copies all the files, including all subfolders that holds files, from
C:\MyFiles, to C:\Backup. Wonderful feature, that let's you transfer a
whole tree structure - including all its files.
XCopy C:\MyFiles\*.* C:\Backup\. /D/E/S
Copies the whole tree structure from C:\MyFiles, to C:\backup. This time,
it will copy even empty subfolders. Since we added the /D switch, only
files that are newer than the ones already existing in the target folder
will be copied. If the source file does not exist in the target folder -
i.e because it is a brand new file, it will be copied as well. Add the /Q
switch, and you won't be bothered with any chatter from your speech.
Otherwise, the speech will keep reading every filename that is being
copied, which could be rather ear-frustrating, if you are copying a bigger
folder. Pretty much this last one, will be all you will need, for simple
backup of your personal data. Just get hold of the exact folder in which
they are stored on your system, make a batch file that retrieves that
location, and copies it all to your backup media and location.
Should you want to have several locations copied at the same time, simply
make them as separate lines in yor batch. Much like this:
XCopy C:\Documents\*.* F:\documents\. /D/E/Q/SQ/S/V/Y
XCopy J:\Music\Itunes\*.* F:\Music\. /d/E/Q/Q/S/V/Y
The above, assumes you have a separate drive (J:) where your music folder
is located. Further, a separate drive (F:) which we use for backup. The
first line, will copy all info that has been updated from C:\Documents,
and to its specified folder on the drive F:. Second line, will do the same
with the contents of the subfolder Music\Itunes, found on the J: drive. We
further added on the /V switch, which instructs XCopy to verify that each
file got copied in full. Further, the /Y switch, that we don't get any
Yes/No questioning, when a file will be overwritten. Save the batch file
in an easily accessed spot - like the desktop - and run it whenever you
want the whole backup to take place.
Please note, the XCopy does not do any removal. If you remove a given file
from your source folder, it will be unaffected in the target folder. Over
time, therefore, your backup folder could grow rather extensive - holding
copies of all your old stuff that you don't need any longer. Hence, my
suggestion is once in a while to browse your backup media, to see what is
still needed and wanted.
Hope all of this will prove helpful for some of you. First you get things
set up the right way, it is a quite powerful and nice piece of software,
which I am told does ship with any flavor of Windows, so all systems
should be able to run the instructions. Now, go figure all the funny
places your stuff is located on your hard disk. :D
---Pasted helptext from XCopy---
(This text can be retrieved by entering XCopy followed by a Space, Slash
and questionmark - on the command line.
Copies files and directory trees.
XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T]
[/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
[/EXCLUDE:file1[+file2][+file3]...]
source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies only files with the archive attribute set,
doesn't change the attribute.
/M Copies only files with the archive attribute set,
turns off the archive attribute.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/EXCLUDE:file1[+file2][+file3]...
Specifies a list of files containing strings. Each string
should be in a separate line in the files. When any of the
strings match any part of the absolute path of the file to
be
copied, that file will be excluded from being copied. For
example, specifying a string like \obj\ or .obj will exclude
all files underneath the directory obj or all files with the
.obj extension respectively.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E. May be used to modify /T.
/V Verifies each new file.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/I If destination does not exist and copying more than one
file,
assumes that destination must be a directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names while
copying.
/L Displays files that would be copied.
/G Allows the copying of encrypted files to destination that
does
not support encryption.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy files. Does
not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Copies only files that already exist in destination.
/K Copies attributes. Normal Xcopy will reset read-only
attributes.
/N Copies using the generated short names.
/O Copies file ownership and ACL information.
/X Copies file audit settings (implies /O).
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.
---End of text---
----- Original Message -----
From: "M and L Dorn" <[email protected]>
To: <[email protected]>
Sent: Saturday, April 28, 2012 7:02 PM
Subject: Re: Dream App, No to all
Hi, David!
No, I don't know how to use XCopy. The name is vaguely familiar from DOS
days, but I don't think I ever used it. The old DOS command I used was
Replace /a /u
I believe that's right. If not, I'd have to look it up. The a switch
was for adding files that were new to the folder. The u switch was for
copying over any files that had been updated since the time of the ones
to be copied over.
If you can give me some instructions for XCopy, I'd appreciate it.
Perhaps you could send me an example of one of your batch files.
What I do is copy files and folders from my documents, email folders and
attachments, Just Checking, and sometimes my favorites or start menu
options to an SD card. I then "sneaker net" them to my other computer to
be copied onto that one as well as an external hard drive. Not only can
I use them there, but I have extra backups.
Not that it doesn't work, but it's more time consuming and so on to copy
everything over everything, even when choosing folders that have new or
updated files in them. If I add 3 files to my address book, for
instance, I don't need to copy all 600 entries. Unless, however, I want
to sort the folder by modified date and then choose some files at the
bottom of the list, copy them, and then resort the address book, copying
them all is what I have to do. I'd like the computer to simply skip over
any files already in existance that have not been modified.
If you know how this could be done, I'd appreciate any suggestions. It
doesn't have to be a WE app. It could be a set of simple batch files.
It should be easy enough to create them and have them run with Start Menu
shortcuts.
Thanks!
Marilyn
At 10:49 PM 4/27/2012, you wrote:
hmmm, maybe your dreams are not too far away?
Are you aware of the XCopy feature of your Windows? It has a built-in
feature to copy only the needed files. And, it can be set to do so
quietly - meaning, there will be no questioning if you want it yes or
no).
I have been using it for backup of my personal documents and other stuf
here for several years.
It is fully possible to run it directly from the Run-dialog in Windows
itself, or to build a batch file that will call it up for you. But that
takes for you, to remember a few switches every time.
A couple of years ago, I wrote a small script (app), that will let you
set up XCopy for multiple copy sessions, either at once, or one at a
time. I, for instance, have set up one that will copy all my budgets, all
my music, and all my WE-settings, all in one simple run. Thing is, I
wrote this script outside WE, meaning that you don't natively have a
hotkey for it, and it won't show up in your App Manager. On the other
hand, you can run it even on systems that has no screen reader installed,
or, I have even run it with NVDA. If it is of general interest, I might
give it some more work, and I could turn it into a WE app. At the moment
when I wrote it, I simply did not have enough knowledge of the app
developing environment in WE, and I wanted it to be possible to run
outside WE as well, why I made it the way I did.
If I understand your query correct here, it might just be quite close to
your wantings.
----- Original Message ----- From: "M and L Dorn"
<[email protected]>
To: "Post to GW-Info List" <[email protected]>
Sent: Saturday, April 28, 2012 2:29 AM
Subject: Dream App, No to all
How about creating an app that adds the "No to all" option to dialog
boxes for things like replacing or overwriting a file or folder?
There's a "Yes to all" option, but no "No to all."
In the DOS days I had batch files written that would replace the files
in a folder that were new or modified since the one being replaced.
Last time I checked into it, this option wasn't even available in the
run dialog box. All I want to do is update a backup copy of some
folders with whatever has been changed since I last copied them to the
backup location or add those new files to that folder. It used to be
simple to do this. Now you either have to do each one as it comes up,
which is tedious at best, or just copy all the files whether you need to
or not.
TTFN,
Marilyn
If you reply to this message it will be delivered to the original sender
only. If your reply would benefit others on the list and your message is
related to GW Micro, then please consider sending your message to
[email protected] so the entire list will receive it.
GW-Info messages are archived at http://www.gwmicro.com/gwinfo. You can
manage your list subscription at http://www.gwmicro.com/listserv.
If you reply to this message it will be delivered to the original sender
only. If your reply would benefit others on the list and your message is
related to GW Micro, then please consider sending your message to
[email protected] so the entire list will receive it.
GW-Info messages are archived at http://www.gwmicro.com/gwinfo. You can
manage your list subscription at http://www.gwmicro.com/listserv.
If you reply to this message it will be delivered to the original sender only.
If your reply would benefit others on the list and your message is related to
GW Micro, then please consider sending your message to [email protected] so
the entire list will receive it.
GW-Info messages are archived at http://www.gwmicro.com/gwinfo. You can manage
your list subscription at http://www.gwmicro.com/listserv.