home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Netzwerk / parbench.lha / ParNet / CDTV.Connect < prev    next >
Encoding:
AmigaDOS Script File  |  1993-08-22  |  2.4 KB  |  113 lines

  1. .key ""
  2. echo "*e[33mCDTV Host Connect Script V3.0 by Vernon Graner    *e[31m"
  3. echo " "
  4.  
  5. echo "Creating DriveList for Remote reference...    *e[32m"Noline
  6.   LINFO >RAM:ParNET-DriveList
  7.   echo "OK*e[31m"
  8. endif
  9.  
  10. Echo "Starting NetPNET-Server...            *e[32m"NoLine
  11. NETPNET-SERVER UNIT 1
  12. Echo "OK*e[31m"
  13.  
  14. Echo "Mounting NET: Device...                *e[32m"NoLine
  15. MOUNT NET: FROM DEVS:MountList.ParNET.Host
  16. echo "OK*e[31m"
  17.  
  18. echo "Waiting for Network Connection...        *e[32m"Noline
  19. DIR >NIL: NET:RAM
  20. echo "OK*e[31m"
  21.  
  22.  
  23. ;******** The following makes PNETKeys work with FFCD V1.5+ from Hypermedia *****
  24.  
  25. echo "Copying files to CDTV...            *e[32m"
  26. echo "."NoLINE
  27.  
  28. IF NOT exists NET:RAM/DEVS
  29.   MakeDIR NET:RAM/DEVS
  30.   COPY DEVS:MountList.ParNET.Mouse to NET:RAM/devs
  31. EndIF
  32. echo "."NoLINE
  33.  
  34. If NOT exists NET:RAM/L
  35.   MakeDIR NET:RAM/L
  36.   copy L:Mouse-Handler to NET:RAM/L/Mouse-Handler
  37. EndIF
  38. echo "."NoLINE
  39.  
  40. If NOT exists NET:RAM/C
  41.   MakeDIR NET:RAM/C
  42.   copy C:Inform NET:RAM/C
  43.   echo "."NoLine
  44.   copy C:NetPatch NET:RAM/C
  45.   echo "."NoLine
  46.   copy C:ReBoot NET:RAM/C
  47.   echo "."NoLine
  48.   copy C:Receive NET:RAM/C
  49.   echo "."NoLine
  50.   copy C:Send NET:RAM/C
  51.   echo "."NoLine
  52.   copy C:LINFO NET:RAM/C
  53.   echo "."NoLine
  54. EndIF
  55.  
  56. copy CDTV.Extras to NET:RAM
  57. echo "."NoLINE
  58.  
  59. copy CDTV.Extras.info to NET:RAM/CDTV.Extras.info
  60. echo "."NoLINE
  61.  
  62. copy RUN.NetCHAT to NET:RAM
  63. echo "."NoLINE
  64.  
  65. copy RUN.NetCHAT.info to NET:RAM
  66. echo "."NoLINE
  67.  
  68. IF exists CD0:
  69.   Assign CD1: NET:CD0
  70. else
  71.   Assign CD0: NET:CD0
  72. endif
  73. echo "."NoLINE
  74.  
  75. Echo "Done*e[31m"
  76. wait 1
  77.  
  78. ;******************************** End of Section *******************************
  79. echo "*e[0;0H*e[J"  ;Clears the screen
  80. Echo "Open the RAM DISK on the CDTV and doubleclick on the"
  81. Echo "CDTV.Extras Icon. When the script launched by the Icon"
  82. Ask  "Finishes, hit RETURN here."
  83.  
  84. Echo "Applying NetPATCH...                *e[32m"NoLine
  85. netpatch net:
  86. echo "*e[31m"
  87.  
  88. Echo "Checking for Remote ParNET-Drivelist...        *e[32m"NoLine
  89. If Exists NET:RAM/ParNET-DriveList
  90.   echo "OK*e[31m"
  91.   Echo "Activating Network Icons...            *e[32m"NoLine
  92.   Copy node.rinfo to RAM:
  93.   Execute NET:RAM/ParNET-DriveList
  94.   echo "OK*e[31m"
  95. Else
  96.   echo "Using Default*e[31m"
  97.   COPY Node.rinfo to NET:RAM/node.rinfo
  98.   Copy node.rinfo to RAM:
  99. EndIf
  100.  
  101. Echo "Mounting MOUSE: device for PNetKeys...        *e[32m"NoLine
  102. mount MOUSE: from Devs:Mountlist.ParNET.Host
  103. echo "OK*e[31m"
  104.  
  105. Echo "Starting INFORM command for NetUTILS...        *e[32m"NoLine
  106. run >nil: inform
  107. echo "OK*e[31m"
  108.  
  109.  
  110. echo ""
  111. echo "Done."
  112. wait 3
  113.