<?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: Merging multiple shapefiles script not working in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90562#M7052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right, it worked. I just check the documentation for &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018v00000018000000"&gt;ListFeatureClasses&lt;/A&gt; and that's true. What a foolish mistake on my part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Darren.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 18:04:59 GMT</pubDate>
    <dc:creator>deleted-user-3rTxRfVTcNm-</dc:creator>
    <dc:date>2015-04-28T18:04:59Z</dc:date>
    <item>
      <title>Merging multiple shapefiles script not working</title>
      <link>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90560#M7050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could someone check this script and tell what is not working, I'm receiving ERROR 000735 which stands for a required parameter that has not been used by the tool. I'm trying to several shapefiles found in folder Merge into a single shapefile. Using another simpler method it works but for that I have to specify location of each shapefile which isn't quite efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import os
import arcpy
from arcpy import env

env.workspace = "D:/M1 Geomatique/Programmation II/Dossier/Merge"

fc = arcpy.ListFeatureClasses(env.workspace)
output = "D:/M1 Geomatique/Programmation II/Dossier/zones.shp"

arcpy.Merge_management(fc, output)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:27:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90560#M7050</guid>
      <dc:creator>deleted-user-3rTxRfVTcNm-</dc:creator>
      <dc:date>2021-12-10T23:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Merging multiple shapefiles script not working</title>
      <link>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90561#M7051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first parameter for ListFeatureClasses is a wildcard, so it is searching for a feature class equal to your workspace path. Try:&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14302437124687836 jive_text_macro" data-renderedposition="29_8_912_16" jivemacro_uid="_14302437124687836"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;fc = arcpy.ListFeatureClasses()&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 17:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90561#M7051</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-04-28T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging multiple shapefiles script not working</title>
      <link>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90562#M7052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right, it worked. I just check the documentation for &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018v00000018000000"&gt;ListFeatureClasses&lt;/A&gt; and that's true. What a foolish mistake on my part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Darren.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 18:04:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/merging-multiple-shapefiles-script-not-working/m-p/90562#M7052</guid>
      <dc:creator>deleted-user-3rTxRfVTcNm-</dc:creator>
      <dc:date>2015-04-28T18:04:59Z</dc:date>
    </item>
  </channel>
</rss>

