Abisuite en batch
Conversion automatique de fichiers bureautiques. Ce « batch » utilise les précieuses fonctionnalités d’Abiword.
- Conversion d’un document OpenOffice.org (.odt) en document Abisuite (.abw).
- Conversion d’un document Abisuite (.abw) en document Rich Text Format (.rtf).
- Conversion d’un document Abisuite (.abw) en document MS Word (.doc).
- Conversion d’un document Abisuite (.abw) en document Texte (.txt).
- Conversion d’un document Abisuite (.abw) en document Web (.html).
@ECHO off echo 'Conversion depuis un fichier odt' echo '================================' set/p fic=Entrez le nom du fichier SANS EXTENSION : SET PATH=%PATH%;C:\Program files\AbiSuite2\AbiWord\bin :: repertoire ou se fait la conversion F: cd F:\doc\tmp echo '** odt -^> abw' Abiword --to=abw %fic%.odt echo '** abw -^> rtf' Abiword --to=rtf %fic%.abw echo '** abw -^> doc' Abiword --to=doc %fic%.abw echo '** abw -^> txt' Abiword --to=txt %fic%.abw echo '** abw -^> html' Abiword --to=html %fic%.abw