Go Back   Tech Support Forum > Microsoft Support > Other Windows Software

User Tag List

Comments in WinZIP batch file

This is a discussion on Comments in WinZIP batch file within the Other Windows Software forums, part of the Tech Support Forum category. My apologies if there is a WinZIP main "thread" somewhere else that I didn't find. Administrator - feel free to


Reply
 
Thread Tools Search this Thread
Old 02-25-2020, 02:52 AM   #1
Registered Member
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 5
OS: Windows 10



My apologies if there is a WinZIP main "thread" somewhere else that I didn't find. Administrator - feel free to move this there if so.

My question is very simple (and posted more out of curiosity).
When using WinZIP via a BAT file, I've specified the files to be zipped via @Filename.
Is there any way to include comments in that file. For example, something like:-

Code:
MSCONVERT_DL1_TO_DB2.txt
ODBC_defaults.txt 
H:\A_MS_EXE\MSCONVERT_DL1_TO_DB2.exe
H:\A_MS_EXE\utilities.dll
H:\A_MS_EXE\Generate_SQL_code.dll
H:\A_MS_EXE\ODBC_utilities.dll
 -- Now comes a comment about the remaining files ....
misi01 is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 02-25-2020, 03:33 AM   #2
Moderator
Windows Tech Team
Hardware Tech Team
 
Join Date: Aug 2008
Location: INDIA
Posts: 2,969
OS: Windows 10 | CentOS | Manjaro



Can't you add a text file with the comments in it ?
__________________


tristar is offline   Reply With Quote
Old 02-26-2020, 01:26 AM   #3
Registered Member
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 5
OS: Windows 10



Thanks, but it feels as if we're talking at cross-purposes here. My winzip bat file looks like this
Code:
"c:\program files\winzip\winzip64.exe" -a "C:\temp\DL1_to_DB2.zip" @H:\A_MS_rexxcode\DL1_TO_DB2_zip_files.txt
and the contents of DL1_TO_DB2_zip_files.txt is as shown in my original append.

My question is about the ability to include comments in the TXT file. I just ran the BAT file, and maybe winzip is "clever enough" so that is looks at any line in the TXT file, and if it doesn't recognize the content as a valid path/file, it simply ignores it?

Somewhere or other there ought to be (?) documentation about the contents of the file referred to via the @ parameter, and that's what I'm after.
misi01 is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 02-26-2020, 02:29 AM   #4
Registered Member
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 5
OS: Windows 10



I did a simple test and changed the @Filename content to the following
Code:
MSCONVERT_DL1_TO_DB2.txt
ODBC_defaults.txt
personal_drive.txt
H:\A_MS_EXE\MSCONVERT_DL1_TO_DB2.exe
H:\A_MS_EXE\utilities.dll
H:\A_MS_EXE\Generate_SQL_code.dll
H:\A_MS_EXE\ODBC_utilities.dll
-- This is a comment
C:\Program Files (x86)\Reginald\RxLaunch.exe
C:\Program Files (x86)\Reginald\RegLite.exe
C:\Program Files (x86)\Reginald\RexxGUI.dll
C:\Program Files (x86)\Reginald\RxODBC.dll
and received the following from the winzap bat file

Quote:
Action: Add (and replace) files
Include subfolders: yes
Save full path: no
no files were found for -- This is a comment that match your selection criteria.
Adding Generate_SQL_code.dll
Adding MSCONVERT_DL1_TO_DB2.exe
Adding MSCONVERT_DL1_TO_DB2.txt
Adding ODBC_defaults.txt
Adding odbc_utilities.dll
Adding Personal_drive.txt
Adding reglite.exe
Adding rexxgui.dll
Adding RxLaunch.exe
Adding rxodbc.dll
Adding UTILITIES.dll
Total bytes=496114, Compressed=368381 -> 26 percent savings.
so winzip is doing something in the way of analysis
misi01 is offline   Reply With Quote
Old 02-26-2020, 04:46 AM   #5
Moderator TSF
Hardware Team Moderator
 
Stancestans's Avatar
 
Join Date: Apr 2009
Posts: 4,929
OS: Windows 10



See WinZip Command Line | WinZip Command line CheatSheet - Reference - DevOps Tutorials
Stancestans is offline   Reply With Quote
Old 02-27-2020, 09:49 AM   #6
Registered Member
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 5
OS: Windows 10



Hmmm, received the following message from your link (but thanks anyway. I'll see if I can find it using the title you supplied)


Edited by tristar: Advertising Link removed from the Post, consider this as a warning.
misi01 is offline   Reply With Quote
Old 02-27-2020, 01:47 PM   #7
Moderator TSF
Hardware Team Moderator
 
Stancestans's Avatar
 
Join Date: Apr 2009
Posts: 4,929
OS: Windows 10



Edit the link to "http" instead of "https" and you won't get that warning,.
Stancestans is offline   Reply With Quote
Old 03-17-2020, 11:12 PM   #8
Registered Member
 
Join Date: Mar 2020
Posts: 1
OS:



Thanks for the information on this.

Edited by tristar: Advertising Link removed from the Post, consider this as a warning.
lerodmanj is offline   Reply With Quote
Old 03-18-2020, 03:48 AM   #9
Moderator
Windows Tech Team
Hardware Tech Team
 
Join Date: Aug 2008
Location: INDIA
Posts: 2,969
OS: Windows 10 | CentOS | Manjaro



Quote:
Originally Posted by misi01 View Post
Hmmm, received the following message from your link (but thanks anyway. I'll see if I can find it using the title you supplied)


Edited by tristar: Advertising Link removed from the Post, consider this as a warning.
My apologies, I edited the link due to the warning, missed Stance's note.
__________________


tristar is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2
Powered by vBadvanced CMPS v3.2.3


All times are GMT -7. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright 2001 - 2018, Tech Support Forum

Windows 10 - Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts