home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 17
/
CD_ASCQ_17_101194.iso
/
dos
/
fr
/
comptalg
/
creation.bat
< prev
next >
Wrap
DOS Batch File
|
1993-09-26
|
2KB
|
76 lines
@rem --- création d'une comptabilité vide -----
@echo off
if [] == [%1] goto SYNTAXE
echo ----- création en cours, veuillez patienter -----
md g.grp\%1.ntr
xcopy g.grp g.grp\%1.ntr >nul
del g.grp\*.fic
del g.grp\*.ind
echo g.grp\%1.ntr\fplanc.fic >Filename.ref
echo g.grp\%1.ntr\iplanc.ind >>Filename.ref
echo g.grp\%1.ntr\jplanc.ind >>Filename.ref
echo g.grp\%1.ntr\fabr.fic >>Filename.ref
echo g.grp\%1.ntr\iabr.ind >>Filename.ref
echo g.grp\%1.ntr\jabr.ind >>Filename.ref
echo g.grp\%1.ntr\fecr.fic >>Filename.ref
echo g.grp\%1.ntr\iecr.ind >>Filename.ref
echo g.grp\%1.ntr\jecr.ind >>Filename.ref
echo g.grp\%1.ntr\freport.fic >>Filename.ref
echo g.grp\%1.ntr\ireport.ind >>Filename.ref
echo g.grp\%1.ntr\recap.fic >>Filename.ref
echo g.grp >groupe.ref
echo %1.ntr >>groupe.ref
echo backup c:g.grp\%1.ntr\*.* a: /s >sauvegarde.bat
echo cd g.grp\%1.ntr >recup.bat
del demo.grp\demo.ntr\*.* <rsp >nul
rd demo.grp\demo.ntr
rd demo.grp
echo ----- %1.ntr installé ----
echo Vous allez entrer les dates de clôture de vos exercices
echo Appuyez sur Entrée pour continuer
pause >nul
main\exercice 0
cd >>configuration
xtree >>configuration
del xtree.*
cls
echo ------------------- Important -----------------------
echo Imprimez le fichier configuration par:
echo
echo print configuration
echo
echo et envoyez-le-nous. Il sera nécessaire pour vous aider
echo en cas de difficulté.
echo
echo Appuyez sur Entrée pour continuer
pause >nul
del rsp >nul
echo @echo off >transit\p.bat
echo del creation.bat >>transit\p.bat
transit\p
goto FIN
:SYNTAXE
echo Ce programme crée votre première comptabilité.
echo Il faut lui fournir un nom de 8 caractères au plus,
echo sans blanc ni ponctuation.
echo Syntaxe: création nom_de_la_comptabilité_à_créer
echo
echo Exemple: création Duchemin
:FIN