Re: xcopy command line for files and folders

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Jun 12, 10:29 am, Robert Macy <m...@xxxxxxxxxxxxxx> wrote:
On Jun 12, 6:44 am, "Terry R." <F1...@xxxxxxxxxxxxxxx> wrote:

The date and time was Thursday, June 11, 2009 11:11:21 PM, and on a
whim, SPAMCOP User pounded out on the keyboard:
..snip...
If I hadn't already done that, I wouldn't be posting here.  Maybe you
think asking a question is a first resort for some people.  It's my last
resort.

Terry R.

I've had Windows Explorer file copy commands too often leave a copied
file corrupted, so...

For many applications, I also prefer XCOPY.

I've written several batch files and leave them on the Desktop.  That
way, when I want 'backup', or synchronizing filesets; I simply double
click on the icon.

If you're interested in that type of approach...

an example of a batch file to only transfer files with new dates, or
are newly created::

filename D2F.bat

echo off
verify on
xcopy D:\AAA\$Contacts\*.*  F:\AAA\$Contacts\*.*  /D  /E  /C  /H  /Y
pause
echo on

'pause' stops WinXP from exiting [and blanking all the inofrmation of
what just happened] before you can read the list of files or see a
list of the activity.

Of important note with XCOPY, be sure to set VERIFY ON, else, and this
has happened to me more than once, Windows will copy and corrupt your
file and you'll never know until you go to use it.

Robert

Well, a copy through explorer is supposed to do some kind of verify
(move and cut/paste I am not sure), but it seems people have trouble
with it or just don't trust it from some bad experience usually with
manipulating large amounts of data.

I have no need to copy large amounts from here to there - I just put
it there to begin with.

It would seem that there is probably some third party alternative GUI
approach that has more verification things built in, but I have no
need to do the research.

In the long run you gotta go with what makes you feel the most
confident...
.



Relevant Pages

  • Re: Question about DST changes in the US
    ... All of these OSs use the same timezone data, so all that has to be done ... /etc/localtime and has you visually verify the change. ... echo Current date and time: ... 12 echo Starting time update service ...
    (Fedora)
  • Re: fast cash/title loan business.....
    ... profit for a 4 minute application(it takes that long to verify their ... which amounts to like  1700% interest...... ... lmfao...with this business(from everything I've head), ...
    (rec.sport.football.college)
  • Re: Linux Customized Commands
    ... I would suggest you echo this entry and verify what you are telling ... the copier to copy. ...
    (comp.lang.c)
  • Re: where is the error....???help me to find it!!!!
    ... What I would do first is debug the code, pause on this line: ... and inspect datanew to verify it's filled properly and work from there. ...
    (comp.lang.java.help)
  • Re: putty slow to connect
    ... I would think the lines just before the pause would ... It seems that it takes a long time to verify the correctness of the ssd key ...
    (comp.security.ssh)