To create a .bat file for Replication Server, insert the contents of the x:\InstallDirectory\SYBASE.bat file at the beginning of the x:\InstallDirectory\REP-15_5\install\RUN_servername.bat file, where:
x is the drive name.
InstallDirectory is the name of the installation directory.
servername is the name of your Replication Server.
When you execute the .bat files, you set all environment variables for Replication Server to use the unique Replication Server product directory.