Arcpy, Python2.6 and Windows 7: HELP

Discussion created by pmarcou on Oct 4, 2012
Latest reply on Oct 10, 2012 by philmorefield
This topic has been addressed on this forum in some respects but I can't seem to piece together enough info to fix my situation. So here it goes; I have a short Python script that I want to use to run 4 tools that I built in Model Builder. Ultimately, I want to be able to run this short script with Windows Scheduler to run a periodic update on a Municipality parcel layer.
When I put the Python code into an IDLE window, everything runs as it should. However, when I attempt to run the script from the cmd window, I get the following set of errors:

Traceback (most recent call last):
File "", line 4, in <module>
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\", line
94, in ImportToolbox
return import_toolbox(input_file, module_name)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\",
line 408, in import_toolbox
toolbox = gp.createObject("Toolbox", tbxfile)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\_bas", line 377, in createObject
ValueError: Error opening Toolbox.

I have just started using Python so I only have a rudimentary knowledge but based on the errors and what I've read from other forum posts here, I'm confident this has something to do with the ArcPy library and Windows 7. However, I don't have a good enough knowledge of the inner workings of the OS to really start messing with things (and suffer the wrath of our IT dept.).
I can tell you that I can run other Python scripts from the cmd window that don't use the arcpy library, so that also confirms my thoughts.

At any rate, if someone could help out with this, it would be great. Any advice or guidance would be appreciated and don't be afraid to dumb it down for me too.

I am currently running ArcGIS 10.0/SP5, Python 2.6.5, 64 bit Windows 7. Let me know if you need any other information.