home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / fr / comptalg / creation.bat < prev    next >
DOS Batch File  |  1993-09-26  |  2KB  |  76 lines

  1. @rem --- création d'une comptabilité vide -----
  2. @echo off
  3.  
  4. if [] == [%1] goto SYNTAXE
  5.  
  6. echo ----- création en cours, veuillez patienter -----
  7.  
  8. md g.grp\%1.ntr
  9. xcopy g.grp g.grp\%1.ntr >nul
  10. del g.grp\*.fic
  11. del g.grp\*.ind
  12.  
  13. echo g.grp\%1.ntr\fplanc.fic     >Filename.ref
  14. echo g.grp\%1.ntr\iplanc.ind     >>Filename.ref
  15. echo g.grp\%1.ntr\jplanc.ind     >>Filename.ref
  16. echo g.grp\%1.ntr\fabr.fic     >>Filename.ref
  17. echo g.grp\%1.ntr\iabr.ind     >>Filename.ref
  18. echo g.grp\%1.ntr\jabr.ind     >>Filename.ref
  19. echo g.grp\%1.ntr\fecr.fic     >>Filename.ref
  20. echo g.grp\%1.ntr\iecr.ind     >>Filename.ref
  21. echo g.grp\%1.ntr\jecr.ind     >>Filename.ref
  22. echo g.grp\%1.ntr\freport.fic     >>Filename.ref
  23. echo g.grp\%1.ntr\ireport.ind     >>Filename.ref
  24. echo g.grp\%1.ntr\recap.fic     >>Filename.ref
  25.  
  26. echo g.grp >groupe.ref
  27. echo %1.ntr >>groupe.ref
  28.  
  29. echo backup c:g.grp\%1.ntr\*.* a: /s >sauvegarde.bat
  30.  
  31. echo cd g.grp\%1.ntr >recup.bat
  32.  
  33. del demo.grp\demo.ntr\*.* <rsp >nul
  34.  
  35. rd demo.grp\demo.ntr
  36. rd demo.grp
  37.  
  38.  
  39. echo ----- %1.ntr installé ----
  40. echo Vous allez entrer les dates de clôture de vos exercices
  41. echo Appuyez sur Entrée pour continuer
  42. pause >nul
  43.  
  44. main\exercice 0
  45.  
  46. cd >>configuration
  47. xtree >>configuration
  48. del xtree.*
  49.  
  50. cls
  51. echo ------------------- Important -----------------------
  52. echo Imprimez le fichier configuration par:
  53. echo  
  54. echo               print configuration
  55. echo  
  56. echo et envoyez-le-nous. Il sera nécessaire pour vous aider
  57. echo en cas de difficulté.
  58. echo  
  59. echo Appuyez sur Entrée pour continuer
  60. pause >nul
  61.  
  62. del rsp >nul
  63. echo @echo off >transit\p.bat
  64. echo del creation.bat >>transit\p.bat
  65. transit\p
  66. goto FIN
  67.  
  68. :SYNTAXE
  69. echo Ce programme crée votre première comptabilité.
  70. echo Il faut lui fournir un nom de 8 caractères au plus,
  71. echo sans blanc ni ponctuation.
  72. echo  Syntaxe:   création    nom_de_la_comptabilité_à_créer
  73. echo  
  74. echo  Exemple:   création    Duchemin
  75. :FIN
  76.