<div dir="ltr">Hey Lito,<div><br></div><div style>In your batch file you can use the MOVE command <a href="http://www.computerhope.com/movehlp.htm">http://www.computerhope.com/movehlp.htm</a></div><div style><br></div><div style>

If you have a batch file like:</div><div style><br></div><div style>MOVE <span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(0,0,0);font-size:14px;line-height:18px">%1 C:\Temp\</span></div>

<div style><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(0,0,0);font-size:14px;line-height:18px"><br>

</span></div><div style><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(0,0,0);font-size:14px;line-height:18px">%1 is the first arg passed to the batch file</span></div>

<div style><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(0,0,0);font-size:14px;line-height:18px"><br>

</span></div><div style><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px">In QGIS you would have a action that calls the batch file like this</span></font></div>

<div style><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px"><br>

</span></font></div><div style><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px">yourbatch.bat [% ImageField %]</span></font></div>

<div style><br></div><div style>- Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 7, 2013 at 8:28 PM, Lito Macieira <span dir="ltr"><<a href="mailto:litomacieira2@gmail.com" target="_blank">litomacieira2@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> Hi guys,</div><div><br></div><div>I have one doubt, may be anyone can help me.</div><div>I have one layer (like houses). For each house i have one picture.</div>

<div>I want that, when a user insert a new feature, choose a picture. Then i want that qgis move that picture to another folder with the name of the genereted ID for that house.</div>
<div>I'm trying do that with qgis actions (and a bat file may be??) and i know how to give them the genereted id (with the '%ID') but i don't now how to move the photo.</div><div>Can anyone help me with that or point me a direction?</div>


</div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br></div>