Le web de Dominique Guebey – Bazar informatique

Page : http://www.dg77.net/tekno/manuel/abisuite.htm


  D o m i n i q u e   G u e b e y    J u n g l e    Bazar informatique

Abisuite en batch

Conversion automatique de fichiers bureautiques. Ce « batch » utilise les précieuses fonctionnalités d’Abiword.

@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