i've done a search and couldn't find anything.
i'm trying to create an output directory for the zipped file im creating using command line.
my code at the moment:
7za a archive%DATE:/=_%.zip c:\temp
this produces the correct zip folder with the contents of C:\temp however it outputs the file to the directory from where 7zip is being ran. for example: C:\my docs\7ziptest.
I want to set the output directory to C:\Reports.
Can you please assist.
Regards,
zell
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/bump
anyone know how to set the output directory of the created zip file?
does -o: actually work on creating a zip?because i've to discover the correct code for selecting an output location.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i've done a search and couldn't find anything.
i'm trying to create an output directory for the zipped file im creating using command line.
my code at the moment:
7za a archive%DATE:/=_%.zip c:\temp
this produces the correct zip folder with the contents of C:\temp however it outputs the file to the directory from where 7zip is being ran. for example: C:\my docs\7ziptest.
I want to set the output directory to C:\Reports.
Can you please assist.
Regards,
zell
/bump
anyone know how to set the output directory of the created zip file?
does -o: actually work on creating a zip?because i've to discover the correct code for selecting an output location.
give it an absolute path for the output name, and put it in quotes if there are any spaces.
7z a -tzip c:\Reports\archive.zip c:\temp