# Installing Madge Card Services for DOS

To replace Card Services, run MADGECS from:

- CONFIG.SYS by including the following after the statement that loads Socket Services, and before any statements that load network drivers: `DEVICE=<path>MADGECS.EXE`

- AUTOEXEC.BAT, include the following before any commands that load network drivers:
  `<path>MADGECS`

To replace Card Services and Socket Services, first go to the directory that you are going to store MADGECS in. Then use a text editor to create a file in that directory called MADGECS.CFG. Put the following line into MADGECS.CFG:
`EMULATE_SOCKET_SERVICES=YES`

Finally, run MADGECS from:

- CONFIG.SYS by including the following before any statements that load network drivers:
  `DEVICE=MADGECS.EXE`

- AUTOEXEC.BAT by including the following before any commands that load network drivers: `MADGECS`

If you have Microsoft Windows or any memory managers installed, you must prevent the address range CC00-CCFF from being re-mapped. To do this for:

- Windows, add the following command to the SYSTEM.INI file:
  `EMMExclude=CC00-CCFF`

- EMM386.EXE, add the following parameter to the device line:
  `X=CC00-CCFF`

- 386MAX, add the following parameter to the device line:
  `RAM=CC00-CCFF`