<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Writing file names automatically when using batch tools in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253095#M8654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for the response, but i guess you missunderstood my question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You use tools in arcmap in batch mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you create new files, e.g. if you clip multiple features, you have to type in a name for every single new feature class. My question was, if it is possible to do that automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2011 09:28:34 GMT</pubDate>
    <dc:creator>KilianOtto</dc:creator>
    <dc:date>2011-10-10T09:28:34Z</dc:date>
    <item>
      <title>Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253093#M8652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi @ all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a way to use any kind of batch tool and give the output a new name whitout doing this manually?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. I would like to clip 100 features. Then would like to write the new files in a directory with the original name + "clip".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 06:46:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253093#M8652</guid>
      <dc:creator>KilianOtto</dc:creator>
      <dc:date>2011-10-10T06:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253094#M8653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use "bulk rename utility" for doing this exact operation... &lt;/SPAN&gt;&lt;A href="http://www.bulkrenameutility.co.uk/Main_Intro.php"&gt;http://www.bulkrenameutility.co.uk/Main_Intro.php&lt;/A&gt;&lt;SPAN&gt; all you do it open up the programme and go to the folder in question within Microsoft Explorer and select your files and edit appropriately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Easy peasy...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 09:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253094#M8653</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2011-10-10T09:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253095#M8654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for the response, but i guess you missunderstood my question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You use tools in arcmap in batch mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you create new files, e.g. if you clip multiple features, you have to type in a name for every single new feature class. My question was, if it is possible to do that automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 09:28:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253095#M8654</guid>
      <dc:creator>KilianOtto</dc:creator>
      <dc:date>2011-10-10T09:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253096#M8655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes sorry...I misunderstood your question. Do you mean using an ArcTool to clip several shapefiles and have them automatically rename with a _clip suffix?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using Arc10? Because when I batch clip a bunch of shapefiles it automatically renamed all the shapefiles as "..._clip" and puts them into the default geodatabase (which is quite tidy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My method is open ModelBuilder from ArcMap &amp;gt;Insert a variable (shapefile)&amp;gt;RC&amp;gt;properties&amp;gt;list of values then add the Clip (Analysis) tool [then add what your clipping to etc...]. This then produces feature classes in the default geodatabase with the suffix "_clip".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;N.B you can drag shapefiles that are open in the TOC in ArcMAP into the variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using 9.3.1 or an older version of ArcGIS you could use the same process but change the output folder to a folder of your choice (i.e. create a folder in ArcCatalog before starting the process). The using bulk rename utility edit all the files to include a suffix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 12:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253096#M8655</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2011-10-10T12:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253097#M8656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;maybe you could use something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;%Name%_clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the end of your output format&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 14:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253097#M8656</guid>
      <dc:creator>HenrikSvenningsen</dc:creator>
      <dc:date>2011-10-10T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253098#M8657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A simpler method would be using "Iterate Feature Class" and use the Name as an in-line variable (as GEOSTUV03 suggest).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 16:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253098#M8657</guid>
      <dc:creator>SebastianSantibanez</dc:creator>
      <dc:date>2011-10-10T16:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253099#M8658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have gotten to the point where I am using an iterator to rename the end products in my model (eg. clip_%name%), but if I batch run the model, only the first item in the batch list is named properly, and everything else ends up named "raster##" and dumped into a default folder.&amp;nbsp; Any ideas??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 12:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253099#M8658</guid>
      <dc:creator>EricaNewton</dc:creator>
      <dc:date>2011-10-11T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253100#M8659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had problems combining batch and iterators too.&amp;nbsp; The fellows from ESRI advised me to avoid combining these two tools (although there was no further explanation on why...).&amp;nbsp; I ended up not using batch at all and nesting different models when I required more than one iterator (you can just put 1 iterator per model).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 14:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253100#M8659</guid>
      <dc:creator>SebastianSantibanez</dc:creator>
      <dc:date>2011-10-11T14:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253101#M8660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is forum thread which sebastian_4m is talking about. It shows how to nest all the models. Look at the image attached with the thread on 09-26-2011 02:07 PM. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/40100-Issua-batching-a-model-built-in-quot-model-builder-quot?highlight=shitijmehta"&gt;Nested Model&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253101#M8660</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-10-11T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Writing file names automatically when using batch tools</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253102#M8661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the speedy reply.&amp;nbsp; I'll give that a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erica&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 16:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/writing-file-names-automatically-when-using-batch/m-p/253102#M8661</guid>
      <dc:creator>EricaNewton</dc:creator>
      <dc:date>2011-10-11T16:10:48Z</dc:date>
    </item>
  </channel>
</rss>

