diff --git a/code/nel/src/misc/common.cpp b/code/nel/src/misc/common.cpp
index d586e4638..6ec0261f6 100644
--- a/code/nel/src/misc/common.cpp
+++ b/code/nel/src/misc/common.cpp
@@ -878,8 +878,22 @@ sint launchProgramAndWaitForResult(const std::string &programName, const std::st
SetEnvironmentVariable( SE_TRANSLATOR_IN_MAIN_MODULE, NULL );
}
- string arg = " " + arguments;
- BOOL ok = CreateProcessA(programName.c_str(), (char*)arg.c_str(), NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE | CREATE_NO_WINDOW, NULL, NULL, &si, &pi);
+ const char *sProgramName = programName.c_str();
+
+ std::string args;
+
+ // a .bat file must have first parameter to NULL and use 2nd parameter to pass filename
+ if (CFile::getExtension(programName) == "bat")
+ {
+ sProgramName = NULL;
+ args = "\"" + programName + "\" " + arguments;
+ }
+ else
+ {
+ args = arguments;
+ }
+
+ BOOL ok = CreateProcessA(sProgramName, (char*)args.c_str(), NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE | CREATE_NO_WINDOW, NULL, NULL, &si, &pi);
if (ok)
{
diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/login_main.xml b/code/ryzom/client/data/gamedev/interfaces_v3/login_main.xml
index 041a47359..432bb998b 100644
--- a/code/ryzom/client/data/gamedev/interfaces_v3/login_main.xml
+++ b/code/ryzom/client/data/gamedev/interfaces_v3/login_main.xml
@@ -24,7 +24,7 @@
-
@@ -32,35 +32,35 @@
-
+
-
+
-
+
-
+
-
+
-
-
-
-
+
-
@@ -73,23 +73,23 @@
-
-
-
+
-
+
@@ -120,7 +120,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
@@ -224,12 +224,12 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
-
+
+
-
+
-
+
@@ -285,28 +285,28 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
@@ -318,17 +318,17 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
-
+
-
+
-
+
@@ -352,20 +352,20 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
-
+
-
+
-
+
@@ -393,52 +393,52 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
-
+
-
+
-
-
+
+
@@ -509,28 +509,28 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
-
+
-
+
-
-
+
+
-
+
@@ -550,25 +550,25 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
-
+
@@ -630,20 +630,20 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
-
+
-
+
-
+
@@ -652,10 +652,10 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
on_focus="create_account_rules" on_focus_params="rules_login" reset_focus_on_hide="false" max_historic="0"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="12" color="135 243 28 255" />
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
+
-
+
@@ -738,14 +738,14 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
+
-
+
@@ -771,17 +771,17 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-
-
-->
-
+
-
+
@@ -791,7 +791,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
-->
-
+