Home > Commands A-M > Commands I

INTERLNK


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Connects two computers via parallel or serial ports and enables the computers to share disks and printer ports. For example, you could connect a laptop computer to a desktop computer and share files. You must install the INTERLNK.EXE device driver before you can use this command.


Syntax

INTERLNK [client[:]= [server][:]]

To display the current status:

INTERLNK


Parameters
client[:] (v6.0 Win95)
Specifies the letter of the drive on the Interlnk server that will be redirected. The drive must be one listed in the This Computer (Server) column of the Interlnk server screen. If no drive letter is specified, the client drive will no longer be redirected.
server[:] (v6.0 Win95)
Specifies the letter of the drive on the Interlnk server that will be redirected. The drive must be one listed in the This Computer (Server) column of the Interlnk server screen. If no drive letter is specified, the client drive will no longer be redirected.

Switches

none.


Related

For more information about the Interlnk device driver, see INTERLNK.EXE.
For more information about Intersvr, see the INTERSVR command.
For more information about setting the number of available drive letters, see the LASTDRIVE configuration option.


Notes
Installing the INTERLNK.EXE device driver

You must use the DEVICE command to install the INTERLNK.EXE device driver before you can use the INTERLNK command.


Canceling redirection on a drive

To cancel redirection of a client drive to a server drive, specify only the client drive and the equal sign (=).


Starting INTERLNK without a server

If you use INTERLNK to connect to a computer that is not running INTERSVR, INTERLNK will show the connection as three additional floppy disk drives. However, if you try to show the contents of these drives, they will appear empty. To show the contents of the redirected drives, the server must be running INTERSVR.


Assigning drive letters

When you connect two computers using INTERLNK, each additional drive will be assigned the next available drive letter. Because the LASTDRIVE setting in your CONFIG.SYS file determines how many drive letters are available, make sure LASTDRIVE is set high enough to accomodate the redirected drives.


Pin Connections for a Serial Cable

This section describes the wiring specifications for serial Interlnk cables.

Make a serial cable with either a 9-pin or a 25-pin female connector on both ends. Three wires are required for data transmission: Ground-Ground, Transmit-Receive, and Receive-Transmit. Seven wires are required if you want to use the remote copy feature. Wire the cable:

   9 pin   25 pin              25 pin   9 pin
   pin 5   pin 7    <------>   pin 7    pin 5 (Ground-Ground)
   pin 3   pin 2    <------>   pin 3    pin 2 (Transmit-Receive)
   pin 7   pin 4    <------>   pin 5    pin 8 (RTS - CTS)
   pin 6   pin 6    <------>   pin 20   pin 4 (DSR - DTR)
   pin 2   pin 3    <------>   pin 2    pin 3 (Receive-Transmit)
   pin 8   pin 5    <------>   pin 4    pin 7 (CTS - RTS)
   pin 4   pin 20   <------>   pin 6    pin 6 (DTR - DSR)
   9 pin   25 pin              25 pin   9 pin

Pin Connections for a Parallel Cable

This section describes the wiring specifications for parallel Interlnk cables.

Make a parallel cable with male DB-25 connectors at both ends. Eleven wires are required for data transmission.

   25 pin          25 pin
   pin 2   <---->  pin 15
   pin 3   <---->  pin 13
   pin 4   <---->  pin 12
   pin 5   <---->  pin 10
   pin 6   <---->  pin 11
   pin 15  <---->  pin 2
   pin 13  <---->  pin 3
   pin 12  <---->  pin 4
   pin 10  <---->  pin 5
   pin 11  <---->  pin 6
   pin 25  <---->  pin 25 (Ground-Ground)
   25 pin          25 pin

Examples

Suppose drive E exists on a server, and INTERSVR is running. To redirect drive G on the client to drive E on the server, type:

    INTERLNK G=E

To cancel the redirection of client drive F, type:

    INTERLNK F=

Errorlevels

none.


Availability
External
DOS
v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10
Windows
Win95 Win98
Windows NT
none