SELECT subsystem, REPLACE(command, '-Continuous', '')
WHERE job_id IN ( SELECT job_id
WHERE name LIKE 'yourreplnamehere%' ) --or whatever the job is called
AND subsystem <> 'TSQL'
AND subsystem <> 'snapshot'
That gives you the commands needed. We’ve removed the -Continuous for simplicity. (otherwise it would continue to run, and you’d need 3 windows)
Login to the server as SQLService. Bring up a command window.
cd "\Program Files\Microsoft SQL Server\90\com\" (or wherever replication is installed; this was an old box)
each server as necessary)