We are moving to 64-bit Windows 7 but many of our users are still on 32-bit Vista. Some of our python scripts use the XSLTransform_conversion command which takse an xslt file as one of its parameters. ESRI's xslt files are located under
C:\Program Files\ArcGIS\Desktop10.0\Metadata\Stylesheets\gpTools on a 32-bit OS but
C:\Program Files (x86)\ArcGIS\Desktop10.0\Metadata\Stylesheets\gpTools on 64-bit Windows 7. Is there an environment variable I can use in my scripts so I can determine the correct location?
C:\Program Files\ArcGIS\Desktop10.0\Metadata\Stylesheets\gpTools on a 32-bit OS but
C:\Program Files (x86)\ArcGIS\Desktop10.0\Metadata\Stylesheets\gpTools on 64-bit Windows 7. Is there an environment variable I can use in my scripts so I can determine the correct location?