New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
impossible to use relative path for source with "unzip"-option #5
Comments
Are you sure you are using the latest version of the script?At the moment Are you sure your zip file is valid ? Can it be open with windows explorer? -best regards. On Wed, Jul 27, 2016 at 12:55 PM, TymurGubayev notifications@github.com
|
Sorry for the line number glitch, I must've made some change I forgot about (formatting I guess). Just tested it with files zipped via Explorer (Windows 10), this is how it looks like:
|
checking this... On Wed, Jul 27, 2016 at 1:22 PM, TymurGubayev notifications@github.com
|
You'll have to use full path to the zip.I think this is explained in the zipjs.bat unzip -source %cd%\update.zip -destination Could do the work. -best regards. On Wed, Jul 27, 2016 at 1:34 PM, Vasil Arnaudov npocmaka@gmail.com wrote:
|
Thinking of how to add relative paths... |
zipjs.bat unzip -source test.zip -destination testdir
gives an error: "Either the target does not exist or is not a correct type"The reason is the check in line 551:
if(!Shell.Application.ExistsFolder(source) ){
I suggest replacing it with
if(!Scripting.FileSystemObject.ExistsItem(source) ){
The text was updated successfully, but these errors were encountered: