Hi all
This is really a DOS/Command Line/Shell question but it's being run out of VBA and I know this forum better than any other.
I need to add a file to a zip file. I have working code that does this using SHELL() the below:
The problem is I need to add the file 'styles.xml' to a folder in 'testfile.zip' called 'xl'. The above code only adds it to the root of testfile.zip.
Anyone know how to amend my command line script?
Thanks
Tom
This is really a DOS/Command Line/Shell question but it's being run out of VBA and I know this forum better than any other.
I need to add a file to a zip file. I have working code that does this using SHELL() the below:
Code:
"C:\Program Files\Winzip\winzip32" -min -a "C:\tmp\testfile.zip" "C:\style\styles.xml"
The problem is I need to add the file 'styles.xml' to a folder in 'testfile.zip' called 'xl'. The above code only adds it to the root of testfile.zip.
Anyone know how to amend my command line script?
Thanks
Tom