diff --git a/src/d_netinfo.cpp b/src/d_netinfo.cpp
index 7f94ef686e..92c8abc3ee 100644
--- a/src/d_netinfo.cpp
+++ b/src/d_netinfo.cpp
@@ -713,7 +713,7 @@ void D_WriteUserInfoStrings (int pnum, BYTE **stream, bool compact)
 
 		if (!compact)
 		{ // In verbose mode, prepend the cvar's name
-			*stream += sprintf(*((char **)stream), "\\%s\\", pair->Key.GetChars());
+			*stream += sprintf(*((char **)stream), "\\%s", pair->Key.GetChars());
 		}
 		// A few of these need special handling for compatibility reasons.
 		switch (pair->Key.GetIndex())