home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / lanman / 3com / 3CXNSOS2.ZIP / MSLANMAN.OS2 / NETPROG / REMSERV.CMD < prev   
Encoding:
Text File  |  1993-07-28  |  1.4 KB  |  35 lines

  1. @ECHO OFF
  2. REM
  3. REM This command allows access to (NET USE) and messages from a 3+Open
  4. REM server on a remote network - connected via 3+NETCONNECT or 3+ROUTE.
  5. REM
  6. REM To use enter:
  7. REM  remserv local-computer-name remote-computer-name remote-network-number
  8. REM
  9. REM  The local computer name, remote computer name, and remote network
  10. REM  number are required. The local computer name and remote computer
  11. REM  name must be entered in upper case.
  12. REM
  13. REM Example:
  14. REM  remserv JOE_SMITH REMSERVER 4a942
  15. REM
  16. REM The following commands allow access to the remote server via
  17. REM NET USE. The REG command adds to the remote network's locator the
  18. REM "Redirector Name" that is used by this workstation's redirector
  19. REM to communicate with the server. The USE command adds to this
  20. REM workstations 3nb2 table the "Server Name" that is used by the server
  21. REM on the remote network.
  22. REM
  23. 3nb2 reg %1 /end=\00 #%3
  24. 3nb2 use %2 /end=\20 #%3
  25. REM
  26. REM The following commands allow the remote server to message the
  27. REM workstation, such as the "print file done" message or alerts.
  28. REM The REG command adds to the remote network's locator the
  29. REM "Messaging Name" that is used as the target name (LISTEN) for
  30. REM messages. The  USE command adds to this workstation's 3nb2 table
  31. REM the NETBIOS name used as the source (CALL) for the messaging system.
  32. REM
  33. 3nb2 reg %1 /end=\03 #%3
  34. 3nb2 use %2 /end=\03 #%3
  35.