I've been provided with a list of file paths that need to be zipped (hundreds of files). Without going into each of the directories and manually copying/pasting into another directory and eventually zipping up that directory, is there a command I can run to look for all the file paths I have specified and create a zip with them as the contents?
Using Windows Server 2008, can use standard Windows zip or 7zip. Basically, right now I have a text file containing all the paths that need to be zipped. E.g.
C:\Resources\LabAutomationEmail\test.csv E:\Resources\LabAutomationEmail\example.csv D:\Resources\LabAutomationEmail\anotherexample.csv
So if I could someone pass this text file in as a parameter to a command which will look at all the files in the text file and zip them up to a destination folder then my goal would be achieved.