<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    From your bug report and my tests on Windows 10,<br>
    '/cd' is a valid option. But the path have to follow a comma,<br>
    which have to follow '/cd'. So the form of 'explorer /cd,path'<br>
    is valid. <br>
    <br>
    A patch is always welcomed.<br>
    <br>
    Thanks,<br>
    Zhiyi<br>
    <br>
    <div class="moz-cite-prefix">On 3/26/20 8:52 PM, Zhipeng Zhao wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:168bb197.ff31.17116e63f1d.Coremail.near2see@163.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Thanks for your comment, you're right, I submit Bug 48816 to
      describe the problem. And may I need to submit a patch to make
      explorer ignore all unrecognizing args?<br>
      <br>
      <p>At 2020-03-26 11:52:59, "Zhiyi Zhang"
        <a class="moz-txt-link-rfc2396E" href="mailto:zzhang@codeweavers.com"><zzhang@codeweavers.com></a> wrote:</p>
      <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN:
        0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
        <blockquote type="cite">
          <pre style="font-family: monospace, Consolas, "Microsoft Yahei"; color: rgb(0, 0, 0); font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;">+        else if (wcsncmp(p, arg_cd, ARRAY_SIZE( arg_cd ))==0)
+        {
+            p += ARRAY_SIZE( arg_cd );
+            p = copy_path_string(parameters->selection,p);</pre>
        </blockquote>
        This is wrong. What if there are other options following it?
        What is the problem exactly?<br>
        Please open a bug report for this.<br>
        <br>
        Actually, I don't think /cd is a valid option. I can't find any
        documentation about<br>
        it anywhere. It's also not listed in
        <a class="moz-txt-link-freetext"
href="https://www.geoffchappell.com/studies/windows/shell/explorer/cmdline.htm"
          moz-do-not-send="true">https://www.geoffchappell.com/studies/windows/shell/explorer/cmdline.htm</a>.<br>
        On Windows, you can even run 'explorer /nonsense' and open the
        explorer window.<br>
        So it's more likely to be ignoring all unrecognizable options. 
        <br>
        <blockquote type="cite">
          <pre style="font-family: monospace, Consolas, "Microsoft Yahei"; color: rgb(0, 0, 0); font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;">+        }
         else
         {</pre>
        </blockquote>
        <br>
      </blockquote>
      <br>
      <br>
      <span title="neteasefooter">
        <p> </p>
      </span>
    </blockquote>
    <br>
  </body>
</html>