My-HelpForum.de
Allround-PC.com TwinsByte.de Downloads Kontakt Impressum
Zurück   My-HelpForum.de > Software > Programme & Anwendungen

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 17.07.2008, 18:12
Neuer Benutzer
 
Registriert seit: 17.07.2008
Ort: Heilbronn
Beiträge: 10
Standard WinZip automatisieren

Hallo Leute,
mein Problem is das ich von der Arbeit den Auftrag bekommen hab rauszufinden wie und ob man Datensätze (also nen Ordner voller Dateien) verschlüsseln und verpacken kann. Kein problem => Winzip
Jetzt soll das aber alles automatisch ablaufen
Mit dem Addon "WinZip Command Line Support" für die Winzip Pro Version hab ichs jetzt geschafft nen Script zu erstellen das mir automatisch bestimmte Dateien verpackt.
Jetzt sollen die Dateien aber auch wieder automatisch entpackt werden.

Es soll später so funktionieren das die Daten verpackt und verschlüsselt - zum kunden gesendet - und dort automatisch entpackt und entschlüsselt werden

hier mal der Code dieser Auftragsdatei:

auftrag.wjf
[version]
WJF-version=2
[output]
base=verpackt&verschlüsselt.zip
baseappend=4
folder=C:\output\
folderappend=0
log=
logfolder=
logoverwrite=0
logtojobfolder=
[options]
jobflags=0001
compression=0
span=1
split=0
splitunit=bytes
pwmode=2
cryptmode=4
pathmode=2
xflags=01D022468DFCAE9F3B000000035E891AE2947F4579
CdWriteSpeed=-1
CdFinalize=0
[jobmail]
account=
options=0
[wizard]
UseVars=0
[files]
0=FI-C:\input\
[schedule]
type=99

Vlt weiß wer von euch weiter.


P.s: Automatisch = mit einem klick ausführbar (und im hintergrund laufend)^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiWong diesen Beitrag!Bei YiGG.de bookmarken!Bei Google bookmarken!Bei Yahoo bookmarken!Bei webnews.de bookmarken!
Mit Zitat antworten
Werbung
Registrierte Benutzer sehen diese Werbung nicht. Registrieren Sie sich nun kostenlos.
  #2 (permalink)  
Alt 17.07.2008, 19:09
Allround-PC.com
 
Registriert seit: 28.10.2003
Beiträge: 1.949
Standard

Quasi so wie ein großer deutscher Telefondienstleister seine Rechnungen per Mail verschickt. Die sind auch gepackt und es wird eine extra Datei mitgeschickt, die zur Entschlüsselung benötigt wird. Ich klick immer nur auf's Archiv, dann entpackt sich die ganze Schose und gut ist.
So willst du es haben?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiWong diesen Beitrag!Bei YiGG.de bookmarken!Bei Google bookmarken!Bei Yahoo bookmarken!Bei webnews.de bookmarken!
Mit Zitat antworten
  #3 (permalink)  
Alt 18.07.2008, 08:40
Neuer Benutzer
 
Registriert seit: 17.07.2008
Ort: Heilbronn
Beiträge: 10
Standard

Nein, der ganze Prozess soll im Hintergrund ablaufen und nur zur Übertragung soll das Packet verschlüsselt werden und beim Anwender auch wieder entschlüsselt und verpackt. Den ersten Teil hab ich ja aber das Problem ist es wieder zu entpacken und entschlüsseln.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiWong diesen Beitrag!Bei YiGG.de bookmarken!Bei Google bookmarken!Bei Yahoo bookmarken!Bei webnews.de bookmarken!
Mit Zitat antworten
  #4 (permalink)  
Alt 18.07.2008, 10:25
Neuer Benutzer
 
Registriert seit: 17.07.2008
Ort: Heilbronn
Beiträge: 10
Standard

Hat sich erledigt, ich hab mich parallel noch an den Kunden Support gewendet.
Falls jemand das gleiche Problem hat hier die Lösung:
Zitat:
Extracting Files
The command format is:

winzip32 -e [options] filename[.zip] folder where -e is required.
options
-o and -j stand for "Overwrite existing files without prompting" and "Junk pathnames", respectively. Unless -j is specified, folder information is used.
Use -sPassword to specify a case-sensitive password. The password can be enclosed in quotes, for example, -s"Secret Password".

filename.zip
Specifies the name of the Zip file involved. Be sure to specify the full filename (including the folder).

folder
Is the name of the folder to which the files are extracted. If the folder does not exist it is created.


Adding Files
The command format is:
winzip32 [-min] action [options] filename[.zip] files

where:
-min specifies that WinZip should run minimized. If -min is specified, it must be the first command line parameter.

action
-a for add, -f for freshen, -u for update, and -m for move. You must specify one (and only one) of these actions.
The actions correspond to the actions described in the section titled "Add dialog box options" in the online manual.

options
-r corresponds to the Include subfolders checkbox in the Add dialog and causes WinZip to add files from subfolders.
Folder information is stored for files added from subfolders. If you add -p, WinZip will store folder information for all files added,
not just for files from subfolders; the folder information will begin with the folder specified on the command line.

-ex, -en, -ef, -es, and -e0 determine the compression method: eXtra, Normal, Fast, Super fast, and no compression.
The default is "Normal". -hs includes hidden and system files. Use -sPassword to specify a case-sensitive password.
The password can be enclosed in quotes, for example, -s"Secret Password".

filename.zip
Specifies the name of the Zip file involved. Be sure to use the full filename (including the folder).

files
Is a list of one or more files, or the @ character followed by the filename containing a list of files to add, one filename per line.
Wildcards (e.g. *.bak) are allowed.


Notes
VERY IMPORTANT: always specify complete filenames, including the full folder name and drive letter, for all file IDs.
To run WinZip in a minimized inactive icon use the "-min" option. When specified this option must be the first option.
Only operations involving the built-in zip and unzip are supported.
Enclose long filenames in quotes.
When using a list ("@") file, no leading or trailing spaces should appear in file IDs in the list.
The action and each option must be separated by at least one space.
WinZip can be used to compress files with cc:Mail . Change the compress= line in the [cc:Mail] section of the appropriate WMAIL.INI files to specify the full path for WinZip followed by "-a %1 @%2". For example, if WinZip is installed in your c:\winzip folder, specify
compress=c:\winzip\winzip.exe -a %1 @%2
Ps.: Kann geclosed werden

Geändert von MaxKhl (18.07.2008 um 15:13 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiWong diesen Beitrag!Bei YiGG.de bookmarken!Bei Google bookmarken!Bei Yahoo bookmarken!Bei webnews.de bookmarken!
Mit Zitat antworten
  #5 (permalink)  
Alt 18.07.2008, 13:44
Allround-PC.com
 
Registriert seit: 28.10.2003
Beiträge: 1.949
Standard

Lassen wir offen
Falls jemand dazu Fragen hat, kann er sie eben hier stellen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiWong diesen Beitrag!Bei YiGG.de bookmarken!Bei Google bookmarken!Bei Yahoo bookmarken!Bei webnews.de bookmarken!
Mit Zitat antworten
Antwort

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Download Support: WinZip 9.0 Edi Kommunikations-Tools 1 01.03.2008 16:23


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:38 Uhr.


[Lightscribe] [ASRock ALiveNF7G] [Strom Lan] [FAT32 oder NTFS] [BIOS Guide] [Festplatte partitionieren]
[Mittelklasse Grafikkarten] [8800 GTS oder X1950 Pro CrossFire] [PC Belüftung]

Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0