[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Off-topic CD-R Backup



Patricia M Godfrey wrote:
>
> .. Then there are all those hidden,
> read-only, and system files. Of course, one can turn the attributes off
> from the command line, but what would happen if one forgot to turn one of
> them back on? I've never dared try for fear of that. Acutally, though,
> his method gives me an idea: let me try copying everything I can, then
> using Karen's DirPrint to file to get a list of the resulting files, then
> get a list of the original files, pull them both up in Xy, sort by name,
> and run file compare. If one knew that it was certain files--and always
> just those ones only--one could write a batch file to XCOPY them (first
> turning off, then back on, the H, R, and S attributes).

Xcopy32 (not xcopy) can do all that for you - if you give it the correct
switches. I use a batch file which has the lines:

set H=windows
c:\windows\command\xcopy32 c:\%H%\*.* d:\%H% /d/h/s/c/k/r
: those switches being:
: copy more recent versions, hidden and system files, all subdirs,
: don't stop if error, copy attribs, overwrite read-only,

John
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France