cmd - When moving files XCopy can put them into a file -
i making backup script usb , stumbled upon this.
xcopy "e:\" "d:\backup" /s/h/e/k/f/c/y when executed batch script created file (not folder) in d:\ drive called backup.
then renamed .zip folder , extracted it, looked inside.

what these files , for?.
am able backup usb zip??.
your video revealed on crucial bit of information left out of initial question: when xcopy asked if target destination file or directory, told xcopy file.
xcopy proceeded write every single file in source file, because that's told do. unfortunately, xcopy not create archive files, instead of merging of files container file, if overwrote destination file every single source file 1 @ time - key strange behavior you're seeing.
according video, last file xcopy processed action plan.xlsx - important note. since last file xcopy processed, d:\backup copy of file , file only.
the interesting thing excel files while old .xls files proprietary microsoft files opened excel, newer .xlsx files archives of xml files. (for example, this work schedule few years ago looks when open winrar - familiar?)
so in summary, copied each file in source same target file , last file copied merely happened archive file. next time run script, pick d instead of f.
Comments
Post a Comment