Tuesday

Duplicate filename:7z:creating archive files from list

you have list of files from differen folders in text file.

To create zip archive use this command:
"c:\Program Files\7-Zip\7z.exe" a  -tzip archive.zip  @c:\listfile.txt

when you get error Duplicate filename:  because of file with the same name in different folders, remove drive name  from list file.


No comments:

here is powershell script on how to get list of files from changesets associated with one tfs task

$dllPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\...