home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / COMM / WFWPTP.ZIP / COPYPTP.BAT next >
DOS Batch File  |  1994-02-04  |  3KB  |  82 lines

  1. @echo off
  2. cls
  3. if "%1" == "" goto error
  4. set DRIVE=%1
  5. goto copyptp
  6.  
  7. :error
  8. echo.
  9. echo Missing parameter:  windows_directory
  10. echo.
  11. echo Usage: copyptp windows_directory
  12. echo.
  13. echo        example:
  14. echo            copyptp c:\windows
  15. echo.
  16. pause
  17. goto exit
  18.  
  19. :copyptp
  20. echo.
  21. echo.
  22. echo    This utility installs the Microsoft(R) Windows(TM) for Workgroups 
  23. echo    3.11 Point-to-Point Server, which enables your WFWG 3.11 system to 
  24. echo    accept incoming calls from other Remote Access clients. 
  25. echo.                                                    
  26. echo    To complete the installation
  27. echo.
  28. echo    1. Make sure you have already installed Remote Access by double clicking
  29. echo       the Remote Access icon in the Network program group.  Also make sure 
  30. echo       Windows for Workgroups is not running.  You can quit this batch file
  31. echo       now by typing CTRL+C and then run it again after installing Remote Access
  32. echo       and quitting Windows.
  33. echo.
  34. echo    2. Press any key to begin the installation process.
  35. echo.
  36. echo    Specified Windows directory: %1
  37. echo.
  38. pause
  39. echo    Updating Point to Point Server files ...
  40. echo.
  41. copy    RASMON.EXE %DRIVE%
  42. copy    RASPHONE.EXE %DRIVE%
  43. copy    RASPHONE.HLP %DRIVE%
  44. copy    RASSTART.EXE %DRIVE%
  45. copy    MODEM.INF %DRIVE%\system
  46. copy    PAD.INF %DRIVE%\system
  47. copy    RASAPI16.DLL %DRIVE%\system
  48. copy    RASCAUTH.DLL %DRIVE%\system
  49. copy    RASCONF.DLL %DRIVE%\system
  50. copy    RASEXE.EXE %DRIVE%\system
  51. copy    RASFILE.DLL %DRIVE%\system
  52. copy    RASMAC.386 %DRIVE%\system
  53. copy    RASMAN.DLL %DRIVE%\system
  54. copy    RASMXS.DLL %DRIVE%\system
  55. copy    RASSAUTH.DLL %DRIVE%\system
  56. copy    RASSER.DLL %DRIVE%\system
  57. copy    RASSRV.DLL %DRIVE%\system
  58. copy    SWITCH.INF %DRIVE%\system
  59. echo.
  60. echo    If all Point-to-Point Server files were copied without errors,
  61. echo    the Windows for Workgroups Point-to-Point Server was successfully
  62. echo    installed.
  63. echo.
  64. pause
  65. cls
  66. echo.
  67. echo    To enable the Point-to-Point Server
  68. echo.
  69. echo    1.      Type WIN to start Windows for Workgroups.
  70. echo    2.      In the Network program group, double-click the Remote Access  
  71. echo            icon. 
  72. echo    3.      From the Setup menu, choose Configure.
  73. echo    4.      In the configuration dialog box, select Accept Incoming 
  74. echo            Calls.
  75. echo    5.      You may specify a password, to limit who has remote access 
  76. echo            to your computer.
  77. echo    6.      To prepare your computer for incoming calls, click the
  78. echo            Answer button.
  79. echo.
  80.  
  81. :exit
  82.