diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index bcd81e24158..6ead53b6dbb 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -2723,7 +2723,7 @@ ssh -L 63333:db.foo.com:5432 joe@shell.foo.com
    <application>event log</application> library with the operating system,
    issue this command:
 <screen>
-<userinput>regsvr32 <replaceable>pgsql_library_directory</replaceable>/pgevent.dll</userinput>
+<userinput>regsvr32 <replaceable>pgsql_bin_directory</replaceable>/pgevent.dll</userinput>
 </screen>
    This creates registry entries used by the event viewer, under the default
    event source named <literal>PostgreSQL</literal>.
@@ -2734,7 +2734,7 @@ ssh -L 63333:db.foo.com:5432 joe@shell.foo.com
    <xref linkend="guc-event-source"/>), use the <literal>/n</literal>
    and <literal>/i</literal> options:
 <screen>
-<userinput>regsvr32 /n /i:<replaceable>event_source_name</replaceable> <replaceable>pgsql_library_directory</replaceable>/pgevent.dll</userinput>
+<userinput>regsvr32 /n /i:<replaceable>event_source_name</replaceable> <replaceable>pgsql_bin_directory</replaceable>/pgevent.dll</userinput>
 </screen>
   </para>
 
@@ -2742,7 +2742,7 @@ ssh -L 63333:db.foo.com:5432 joe@shell.foo.com
    To unregister the <application>event log</application> library from
    the operating system, issue this command:
 <screen>
-<userinput>regsvr32 /u [/i:<replaceable>event_source_name</replaceable>] <replaceable>pgsql_library_directory</replaceable>/pgevent.dll</userinput>
+<userinput>regsvr32 /u [/i:<replaceable>event_source_name</replaceable>] <replaceable>pgsql_bin_directory</replaceable>/pgevent.dll</userinput>
 </screen>
   </para>
 
