Well, that is partially true. But there is a great, easy and functional workaround. Enclose the filename in quotes, like this:
   XCopy "C:\My Documents\This is a test.*" "C:\backup\My Docs\." /E/S/V/Y

As you can see, both the Source, and the Target file and folder names, are enclosed in each their set of quotes. And, that is the general way of working with Long Filenames in the command line environment. A Long Filename should always be enclosed in quotes. That applies to XCopy, as well as to any other software that handles Long Filenames.


----- Original Message ----- From: "Louis" <[email protected]>
To: "'M and L Dorn'" <[email protected]>; <[email protected]>
Sent: Sunday, April 29, 2012 1:05 PM
Subject: RE: Dream App, No to all


As I remember the Xcopy command, it was tied to the old DOS file-naming
conventions which required filenames of up to 8 characters in length for the first part, a period and then three more characters for an extension. Filenames of greater length than that got truncated with a tilde. If that's still true, you might have considerable trouble trying to keep track of your files after
they were processed by Xcopy, unless that's been fixed, of course.

Louis Gosselin


-----Original Message-----
From: M and L Dorn [mailto:[email protected]]
Sent: Saturday, April 28, 2012 1:03 PM
To: [email protected]
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.

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.

Reply via email to