Batch File code for Winzip- URGENT ATTENTION REQUIRED

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Shooter
Posts: 3
Joined: 30 Aug 2012 11:29

Batch File code for Winzip- URGENT ATTENTION REQUIRED

#1 Post by Shooter » 30 Aug 2012 11:42

Hi All,

I am preparing a .bat file for compressing some files from one folder and after compression save them in another folder. I am having one issue here.
Files of my source folder keeps updating on time and whenever I am running my scripts, if at that time some files are updating, then winzip is giving an error prompt with 'Yes', 'No' and 'Help' options.
If I'll click on 'Yes', then it is showing the warning that the compressed files may be corrupted. If I'll click 'No', then that prompt disappears and 'Help' option is opening the winzip help.
I am looking for some batch file code or any combination of batch file code and winzip command code, so that I can suppress or close these alerts automatically instead of manually clicking on any options.
This is really urgent. I really appreciate if someone can help me here.
Thanks in advance.

Dos_Probie
Posts: 233
Joined: 21 Nov 2010 08:07
Location: At My Computer

Re: Batch File code for Winzip- URGENT ATTENTION REQUIRED

#2 Post by Dos_Probie » 30 Aug 2012 14:14

Winzip? Does anyone still use that app? .. Switch to 7-zip as your default program..has better compression, lots of good documentation for compressing and decompressing from commandline plus its free..problem solved. 8)
http://www.dailyblogtips.com/forget-winzip-try-7-zip/

Liviu
Expert
Posts: 470
Joined: 13 Jan 2012 21:24

Re: Batch File code for Winzip- URGENT ATTENTION REQUIRED

#3 Post by Liviu » 30 Aug 2012 20:32

@Dos_Probie, I believe the main question was about how to skip file access errors. Simply switching to 7-zip would not resolve that.

@Shooter, my apologies for the late reply. I realize now that it was an URGENT matter, and REQUIRED undivided ATTENTION. What is your going rate, btw?

P.S. One free advice would be to look under 'wzzip' in the wzcline.chm help file and locate the phrase 'Automatic, non-interactive ("batch" mode) handling of prompts'.

Shooter
Posts: 3
Joined: 30 Aug 2012 11:29

Re: Batch File code for Winzip- URGENT ATTENTION REQUIRED

#4 Post by Shooter » 31 Aug 2012 08:11

@Liviu
Thanks for the reply. I'll check on your suggestion and update you soon.

Actually I have to deliver a project asap and this is a part of that project.

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Batch File code for Winzip- URGENT ATTENTION REQUIRED

#5 Post by Squashman » 31 Aug 2012 10:03

Sounds like you are not using the command line client add on for Winzip.

Shooter
Posts: 3
Joined: 30 Aug 2012 11:29

Re: Batch File code for Winzip- URGENT ATTENTION REQUIRED

#6 Post by Shooter » 02 Sep 2012 13:16

@Liviu, @Squashman....
I don't want to use winzip command line add on.
Is it possible to do this task without command line add on. Please let me know.
Thanks....

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Batch File code for Winzip- URGENT ATTENTION REQUIRED

#7 Post by Squashman » 02 Sep 2012 13:29

Shooter wrote:@Liviu, @Squashman....
I don't want to use winzip command line add on.
Is it possible to do this task without command line add on. Please let me know.
Thanks....

Don't believe so. I have been using the command line add on for years and I have never had the issue you are referring to when using the command line client.

Post Reply