home *** CD-ROM | disk | FTP | other *** search
/ PC-Test Pro / PCTESTPRO.iso / filetool / cmfile / entp / install.bat < prev    next >
Encoding:
DOS Batch File  |  1995-11-14  |  2.4 KB  |  81 lines

  1. echo off
  2. cls
  3. if not exist cmfiler.com goto WrongDir
  4. if exist cmfiler.ovy goto RightDir
  5.  
  6. :WrongDir
  7. echo INSTALL.BAT is unable to find CMFiler program files
  8. echo.
  9. echo Make sure that all the files from the original CF554.ZIP, CF554.EXE
  10. echo or CMFILE.ZIP compression are in the same directory, and that that
  11. echo directory is selected as the DOS current directory before running
  12. echo INSTALL.BAT.
  13. echo.
  14. pause
  15. goto TheEnd
  16.  
  17. :RightDir
  18. echo        *****  CMFiler Ver 5.54 Installation *****
  19. echo.
  20. if not exist C:\DOS\CHOICE.COM then goto InstallNow
  21. echo This batch file creates the directory C:\CF554 and copies to it
  22. echo the files in the CMFiler Ver 5.54 fileset.
  23. echo.
  24. C:\DOS\CHOICE.COM Proceed with installation 
  25. if errorlevel 2 goto TheEnd
  26.  
  27. :InstallNow
  28. cls
  29. echo Installing CMFiler Ver 5.54 to C:\CF554
  30. echo.
  31. echo Creating C:\CF554
  32. echo.
  33. md c:\cf554
  34. echo Copying files. . .
  35. echo.
  36. copy *.* c:\cf554
  37. echo Copying CF.BAT to C:\DOS
  38. copy cf.bat c:\dos
  39. echo.
  40. echo To run CMFiler at the DOS prompt, you may:
  41. echo.
  42. echo   (1) type:
  43. echo         c:\cf554\cmfiler
  44. echo.
  45. echo      or;
  46. echo.
  47. echo   (2) just type:
  48. echo         cf
  49. echo.
  50. pause
  51.  
  52. cls
  53. echo The files in the directory CF554 include CMFILER.PIF and CMFILER.ICO
  54. echo files for running CMFiler under Windows 3.1.
  55. echo.
  56. echo To add CMFiler to a program group, go to the Windows Program Manager, and
  57. echo double click on the desired group.  Then, in the Program Manager menu bar,
  58. echo click on File, and New...  Then click the Program Item bullet, if
  59. echo necessary, and OK.
  60. echo.
  61. echo Fill in the data in the next menu as follows, moving the cursor from
  62. echo each line to the next using your mouse and clicking:
  63. echo.
  64. echo Description:  CMFiler
  65. echo Command Line: C:\CF554\CMFILER.PIF
  66. echo Working Directory: C:\  [or whatever you would like CMFiler to start in]
  67. echo Shortcut Key: [Optional. I use Ctrl+Alt+C]
  68. echo Also decide if you want CMFiler to start minimized. I leave this off.
  69. echo.
  70. echo Then click on the Change Icon... button.  Windows will tell you there are
  71. echo no available icons for this file.  Click OK, then, on the File Name line
  72. echo in the next menu, type C:\CF554\CMFILER.ICO and click on OK twice.
  73. echo The CMFiler icon should appear in the CMFiler Properties box.
  74. echo Click OK on the Program Item Properties menu, and the CMFiler icon should
  75. echo appear in the program group. Just double click on it to run.
  76. echo.
  77. pause
  78.  
  79. :TheEnd
  80. echo on
  81.