Stand-alone .py question

Discussion created by rangermry on Jun 6, 2014
Latest reply on Jun 6, 2014 by iamurray
I would like this script to run independently so one of my AutoCAD users that needs a shapefile can just double click on it to update their files, they have GIS installed.  This is not working for me do I need to somehow add to set a path or change a directory so dos will run this right?  It runs but nothing results.

# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# ParcelToShp.py
# Description: Exports a copy of data pointed to in the Parcel layer file in the other folder.
# ---------------------------------------------------------------------------

# Import arcpy module
import arcpy, os

arcpy.env.workspace = "\\\\nt1s\\blah\\blah"

# Local variables:
Parcels = "\\\\nt1s\\blah\blah\\Parcels.lyr"
Output_Folder = "\\\\nt1s\\blach\\"

# Process: Feature Class To Shapefile (multiple)
arcpy.FeatureClassToShapefile_conversion(Parcels, Output_Folder)