[Qgis-user] Windows BATCH-File Start
Bo Victor Thomsen
bo.victor.thomsen at gmail.com
Wed Apr 28 02:23:11 PDT 2021
Hi, late to the party..
However, this works on my Windows-10 64 bit / QGIS 3.18 64 bit:
the "d:/tmp/start.cmd" contains only 1 line:
@echo "%1"
You should probably change the action type from "Open" to "Generic"
Med venlig hilsen / Kind regards
Bo Victor Thomsen
Den 23-04-2021 kl. 13:40 skrev Asmus Harder:
> Hi there,
> I tried to use in QGIS 3.16 on Windows10 a old layer-action from QGIS
> 2.18.
> 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.
> In QGIS2.18 it works fine.
> 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.
> For example this work:
> "d:\Test_Batch_Aufruf.bat"
> but this doesn't work:
> "d:\Test_Batch_Aufruf.bat" "Hello"
> If I use a exe-file it works with a parameter.
> For example this work fine:
> "c:\Program Files\IrfanView\i_view64.exe" "D:\50342_col.tif"
> Any idea why the BATCH-file doesn't start with parameter?
> greetings
> Asmus
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210428/93bca3b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: albbigahmobfbkgp.png
Type: image/png
Size: 25954 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210428/93bca3b9/attachment.png>
More information about the Qgis-user
mailing list