@set MYTEXMF=\texmf
@set MYVTEXMF=\texmf-var
@set MYLTEXMF=\texmf-local
@set MYLBIN=\bin
@if "%1%"=="DOS" goto DOS
@echo La desinstallation de FrenchPro ou eFrench " a la unix "  peut etre
@echo realisee directement en ligne (qq minutes sur internet pour le
@echo transfert des executables, puis une dizaine de minutes ensuite).
@echo Ok pour continuer ? (sinon Ctrl-C et "uninstall DOS" ou "mikuninstall")
@pause
@call bin\setupunx.bat uninstall
@exit

:DOS
@if "%ROOT%"=="" call root
@if "%ROOT%"=="" set ROOT=%ORIGIN%
@echo . 
@echo      D E S I N S T A L L A T I O N  de  FrenchPro ou eFrench 
@echo .
@echo Desinstallation depuis le repertoire %ROOT% (variable %%ROOT).
@echo Etes-vous bien sur de vouloir desinstaller FrenchPro ou eFrench ?
@echo Ok pour continuer ? (sinon Ctrl-C)
@pause
#! \bin\sh -v
del %ROOT%%MYLTEXMF%\tex\generic\hyphen\frhyph.tex
del %ROOT%%MYLTEXMF%\tex\generic\hyphen\frhyph1.tex
del %ROOT%%MYLTEXMF%\tex\generic\hyphen\zerohyph.tex
del %ROOT%%MYLTEXMF%\tex\generic\hyphen\hypht1.tex
del %ROOT%%MYLTEXMF%\tex\french\base\ecplain.tex
del %ROOT%%MYLTEXMF%\tex\french\base\frpdftexconfig.tex
del %ROOT%%MYLTEXMF%\tex\french\base\hyconfig.tex
del %ROOT%%MYLTEXMF%\tex\french\config\frlicense.dat
del %ROOT%%MYLTEXMF%\tex\french\config\language.dat
del %ROOT%%MYLTEXMF%\tex\french\config\english.keyboard.dat
del %ROOT%%MYLTEXMF%\tex\french\config\french.keyboard.dat
del %ROOT%%MYLTEXMF%\tex\french\config\keyboard.dat
del %ROOT%%MYLTEXMF%\tex\french\config\frelatex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\fretex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frlatex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frpdflatex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frpdftex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frtex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frtexcm.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frtexec.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frxelatex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\frxetex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\tex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\mltex.fpi
del %ROOT%%MYLTEXMF%\tex\french\config\hyphen.cfg
del %ROOT%%MYLTEXMF%\tex\french\config\plaintex.cfg
del %ROOT%%MYLTEXMF%\tex\french\config\frelatex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\fretex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frlatex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frpdflatex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frpdftex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frtex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frtexcm.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frtexec.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frxelatex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\frxetex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\tex.fr
del %ROOT%%MYLTEXMF%\tex\french\config\mltex.fr
del %ROOT%%MYLTEXMF%\mltex\french\base\ecplain.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\frpdftexconfig.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\hyconfig.tex
del %ROOT%%MYLTEXMF%\mltex\french\config\frlicense.dat
del %ROOT%%MYLTEXMF%\mltex\french\config\language.dat
del %ROOT%%MYLTEXMF%\mltex\french\config\english.keyboard.dat
del %ROOT%%MYLTEXMF%\mltex\french\config\french.keyboard.dat
del %ROOT%%MYLTEXMF%\mltex\french\config\keyboard.dat
del %ROOT%%MYLTEXMF%\mltex\french\config\frelatex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\fretex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frlatex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frpdflatex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frpdftex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frtex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frtexcm.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frtexec.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frxelatex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\frxetex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\mltex.fpi
del %ROOT%%MYLTEXMF%\mltex\french\config\hyphen.cfg
del %ROOT%%MYLTEXMF%\mltex\french\config\plaintex.cfg
del %ROOT%%MYLTEXMF%\mltex\french\config\frelatex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\fretex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frlatex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frpdflatex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frpdftex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frtex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frtexcm.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frtexec.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frxelatex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\frxetex.fr
del %ROOT%%MYLTEXMF%\mltex\french\config\mltex.fr
del %ROOT%%MYLTEXMF%%MYLBIN%\kb7to8.exe
del %ROOT%%MYLTEXMF%%MYLBIN%\kb8to7.exe
del %ROOT%%MYLTEXMF%\doc\french\base\frenchpro.pdf
del %ROOT%%MYLTEXMF%\doc\french\base\frnotes.pdf
del %ROOT%%MYLTEXMF%\doc\french\base\frguide.pdf
del %ROOT%%MYLTEXMF%\doc\french\base\frenchle.pdf
del %ROOT%%MYLTEXMF%\tex\latex\frenchle\french.ldf
del %ROOT%%MYLTEXMF%\tex\latex\frenchle\frenchle.ldf
del %ROOT%%MYLTEXMF%\tex\latex\frenchle\frenchle.sty
del %ROOT%%MYLTEXMF%\tex\latex\frenchle\frenchle.cfg
del %ROOT%%MYLTEXMF%\tex\french\base\copyrigh.tex
del %ROOT%%MYLTEXMF%\tex\french\base\frabbrev.tex
del %ROOT%%MYLTEXMF%\tex\french\base\french-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\french_french-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\frhyphex.tex
del %ROOT%%MYLTEXMF%\tex\french\base\fxabbrev.tex
del %ROOT%%MYLTEXMF%\tex\french\base\german_french-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\fenglish.sty
del %ROOT%%MYLTEXMF%\tex\french\base\frbabel.sty
del %ROOT%%MYLTEXMF%\tex\french\base\french.sty
del %ROOT%%MYLTEXMF%\tex\french\base\frenchle.sty
del %ROOT%%MYLTEXMF%\tex\french\base\frenchpro.sty
del %ROOT%%MYLTEXMF%\tex\french\base\pmfrench.sty
del %ROOT%%MYLTEXMF%\tex\french\base\french.all
del %ROOT%%MYLTEXMF%\tex\french\base\french.chk
del %ROOT%%MYLTEXMF%\tex\french\base\french.cmd
del %ROOT%%MYLTEXMF%\tex\french\base\enbib.ldf
del %ROOT%%MYLTEXMF%\tex\french\base\frbib.ldf
del %ROOT%%MYLTEXMF%\tex\french\base\french.ldf
del %ROOT%%MYLTEXMF%\tex\french\base\frenchle.ldf
del %ROOT%%MYLTEXMF%\tex\french\base\frenchpro.ldf
del %ROOT%%MYLTEXMF%\tex\french\base\french.dmy
del %ROOT%%MYLTEXMF%\tex\french\base\babel.sty
del %ROOT%%MYLTEXMF%\tex\french\base\french_keyboard-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\frenchfc.tex
del %ROOT%%MYLTEXMF%\tex\french\base\german_keyboard-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\kbconfig.tex
del %ROOT%%MYLTEXMF%\tex\french\base\keyboard-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\keyboard.tex
del %ROOT%%MYLTEXMF%\tex\french\base\keyboard.sty
del %ROOT%%MYLTEXMF%\tex\french\base\TeX.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\ansinew.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\applemac.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\ascii.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\cp850.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\decmulti.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\latin1.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\latin9.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\next.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\qwerty.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\utf8.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.TeX.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.TeX.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.ansinew.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.ansinew.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.applemac.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.applemac.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.ascii.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.ascii.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.cp850.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.cp850.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.decmulti.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.decmulti.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.latin1.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.latin1.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.latin9.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.latin9.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.next.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.next.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.qwerty.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.qwerty.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\french.utf8.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\english.utf8.kbc
del %ROOT%%MYLTEXMF%\tex\french\base\msg.sty
del %ROOT%%MYLTEXMF%\tex\french\base\french_msg-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\german_msg-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\msg-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\norsk_msg-msg.tex
del %ROOT%%MYLTEXMF%\tex\french\base\mlp-01.sty
del %ROOT%%MYLTEXMF%\tex\french\base\mlp-31.sty
del %ROOT%%MYLTEXMF%\tex\french\base\mlp-33.sty
del %ROOT%%MYLTEXMF%\tex\french\base\mlp-49.sty
del %ROOT%%MYLTEXMF%\tex\french\base\mlp-49n.sty
del %ROOT%%MYLTEXMF%\tex\french\base\mlp-opts.sty
del %ROOT%%MYLTEXMF%\tex\french\base\mlp.sty
del %ROOT%%MYLTEXMF%\tex\french\base\deutschx.mlp
del %ROOT%%MYLTEXMF%\tex\french\base\francais.mlp
del %ROOT%%MYLTEXMF%\tex\french\base\internat.mlp
del %ROOT%%MYLTEXMF%\tex\french\base\ndeutsch.mlp
del %ROOT%%MYLTEXMF%\tex\french\base\noesterr.mlp
del %ROOT%%MYLTEXMF%\tex\french\base\oesterre.mlp
del %ROOT%%MYLTEXMF%\tex\french\base\epreuve.sty
del %ROOT%%MYLTEXMF%\tex\french\base\fridx1.ist
del %ROOT%%MYLTEXMF%\mltex\french\base\copyrigh.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\frabbrev.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\french-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\french_french-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\frhyphex.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\fxabbrev.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\german_french-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\fenglish.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\frbabel.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\french.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\frenchle.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\frenchpro.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\pmfrench.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\french.all
del %ROOT%%MYLTEXMF%\mltex\french\base\french.chk
del %ROOT%%MYLTEXMF%\mltex\french\base\french.cmd
del %ROOT%%MYLTEXMF%\mltex\french\base\enbib.ldf
del %ROOT%%MYLTEXMF%\mltex\french\base\frbib.ldf
del %ROOT%%MYLTEXMF%\mltex\french\base\french.ldf
del %ROOT%%MYLTEXMF%\mltex\french\base\frenchle.ldf
del %ROOT%%MYLTEXMF%\mltex\french\base\frenchpro.ldf
del %ROOT%%MYLTEXMF%\mltex\french\base\french.dmy
del %ROOT%%MYLTEXMF%\mltex\french\base\babel.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\french_keyboard-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\frenchfc.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\german_keyboard-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\kbconfig.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\keyboard-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\keyboard.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\keyboard.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\TeX.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\ansinew.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\applemac.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\ascii.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\cp850.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\decmulti.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\latin1.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\latin9.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\next.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\qwerty.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\utf8.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.TeX.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.TeX.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.ansinew.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.ansinew.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.applemac.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.applemac.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.ascii.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.ascii.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.cp850.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.cp850.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.decmulti.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.decmulti.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.latin1.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.latin1.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.latin9.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.latin9.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.next.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.next.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.qwerty.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.qwerty.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\french.utf8.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\english.utf8.kbc
del %ROOT%%MYLTEXMF%\mltex\french\base\msg.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\french_msg-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\german_msg-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\msg-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\norsk_msg-msg.tex
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp-01.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp-31.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp-33.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp-49.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp-49n.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp-opts.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\mlp.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\deutschx.mlp
del %ROOT%%MYLTEXMF%\mltex\french\base\francais.mlp
del %ROOT%%MYLTEXMF%\mltex\french\base\internat.mlp
del %ROOT%%MYLTEXMF%\mltex\french\base\ndeutsch.mlp
del %ROOT%%MYLTEXMF%\mltex\french\base\noesterr.mlp
del %ROOT%%MYLTEXMF%\mltex\french\base\oesterre.mlp
del %ROOT%%MYLTEXMF%\mltex\french\base\epreuve.sty
del %ROOT%%MYLTEXMF%\mltex\french\base\fridx1.ist
@echo Fin de la procedure de desinstallation.

:FIN
@pause
