<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi, late to the party..</p>
    <p>However, this works on my Windows-10 64 bit / QGIS 3.18 64 bit:</p>
    <p><img src="cid:part1.6815DFFE.CE48E4AE@gmail.com" alt=""
        width="498" height="561"></p>
    <p>the "d:/tmp/start.cmd" contains only 1 line: <font
        face="monospace"><br>
      </font></p>
    <p><font face="monospace">@echo "%1"</font></p>
    <p>You should probably change the action type from "Open" to
      "Generic"<br>
    </p>
    <pre class="moz-signature" cols="72">Med venlig hilsen / Kind regards

Bo Victor Thomsen</pre>
    <div class="moz-cite-prefix">Den 23-04-2021 kl. 13:40 skrev Asmus
      Harder:<br>
    </div>
    <blockquote type="cite"
cite="mid:trinity-6a69c539-609f-456d-8ed4-51fa0264257b-1619178036521@3c-app-gmx-bs65">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div>Hi there,</div>
        <div> </div>
        <div>I tried to use in QGIS 3.16 on Windows10 a old layer-action
          from QGIS 2.18.<br>
          If I cklick on one object the action should start an
          BATCH-file and gives some attributes as parameter to the
          batch-file. But it doesn't work, nothing happens.</div>
        <div>In QGIS2.18 it works fine.</div>
        <div> </div>
        <div>If I use "Open" as type and only the BATCH-File without
          parameter than the BATCH opens. If I add an parameter than
          nothing happens.</div>
        <div> </div>
        <div>For example this work:</div>
        <div>"d:\Test_Batch_Aufruf.bat"</div>
        <div>but this doesn't work:<br>
          "d:\Test_Batch_Aufruf.bat" "Hello"</div>
        <div> </div>
        <div>If I use a exe-file it works with a parameter.<br>
          For example this work fine:<br>
          "c:\Program Files\IrfanView\i_view64.exe" "D:\50342_col.tif"</div>
        <div> </div>
        <div>Any idea why the BATCH-file doesn't start with parameter?</div>
        <div> </div>
        <div>greetings<br>
          Asmus</div>
        <div> </div>
        <div> </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
  </body>
</html>