home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / HANDICAP / HOTDOTS3.ZIP / DOTS1.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-04-26  |  1.4 KB  |  43 lines

  1. @echo off
  2. REM    Hot Dots 3.0 Menu option 1 (file importation)
  3. REM    Written by David Holladay and Caryn Navy
  4.  
  5. if %hotpath%&==& set hotpath=c:\hotdots
  6. if %1&==& goto dox
  7. if %1==? goto dox
  8. if %2&==& goto dox
  9. if exist %1 goto datayes
  10. echo This batch file is looking for a file called %1
  11. echo   created by your word processor
  12. echo %1 is not found (perhaps you can find it).
  13. goto final
  14. :datayes
  15. if exist %hotpath%\imp1.rul goto progyes
  16. echo This batch file assumes that Hot Dots is located in %hotpath%.
  17. echo The file %hotpath%\IMP1.RUL is not found. Please change
  18. echo this and other batch file to reflect the location
  19. echo of your Hot Dots software.
  20. goto final
  21. :progyes
  22. if %3&==& goto ruleok
  23. if exist %3 goto ruleok
  24. echo Your rules file %3 does not exist.
  25. goto final
  26. :ruleok
  27. import %1 1 %2 0 %3
  28. goto final
  29. :dox
  30. echo This batch file has 2 or 3 parameters
  31. echo 1 -- file name
  32. echo 2 -- Word processing file code (example: WordPerfect 4.2 code is WPF4)
  33. echo 3 -- (optional) rules file to be used before translation
  34. echo ---
  35. echo This batch file takes your file through option 1 of Hot Dots 3.0
  36. echo This is the file importation step to create an HD$ file.
  37. echo ---
  38. echo Example: DOTS1234 FISHY.DOC WPF4
  39. echo This batch file takes your file (which was created by WordPerfect 4.2)
  40. echo and creates one new files in your current directory:
  41. echo FISHY.HD$ -- uncontracted with Hot Dots $$ commands
  42. :final
  43.