Script pour zipper un dossier

Script pour zipper un dossier - Divers - Programmation

Marsh Posté le 20-07-2004 à 10:50:54    

Bonjour,  
 
 
Je voulais avoir si quelqu'un connaissait un script permettant de zipper un dossier et de le joindre à un mail (sur outlook par exemple).  
 
 
Merci.  
 

Reply

Marsh Posté le 20-07-2004 à 10:50:54   

Reply

Marsh Posté le 20-07-2004 à 11:01:16    

ben appeler rar/zip/7zip en ligne de commande dans un batch?
 
genre pour rar tu lances
rar a -r -s -m5 destination_archive.rar origin_folder\*.*
 
ca ajoute (a) tout le contenu de origin folder (*.*) de manière récursive (-r) dans une archive solide (-s) avec compression maximale (-m5)
et après tu le joint normalement a ton mail?
 
non?


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 20-07-2004 à 11:25:50    

Tout d'abord merci de ton aide.
Effectivement ya pas de problème au niveau de la compression.
Ce que je voulais, c'est qu'en plus de compresser, il ouvre outlook et il mette ce fichier zippé en pièce jointe.
Tu crois que c'est faisable ?

Reply

Marsh Posté le 20-07-2004 à 11:53:04    

Hum ne connaissant pas Outlook du tout, j'aime autant ne pas répondre à cette question.
 
Par contre il est sûrement possible de créer un plugin Mozilla/Thunderbird avec cette sympathique fonction [:itm]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed