Thanks guys. I was running C:\Python26\python.exe in my bat file so have now changed this to C:\Python26\ArcGIS10.0\python.exe. Also, in PyDev preferences (Window > preferences > PyDev > Interpreter Python > I've updated interpreters to reflect this so I can now run my scripts in Eclipse. I ran the bat file successfully as a scheduled task all night.
Ruth, I have appended ';C:\Python26\ArcGIS10.0' to my Path environment variable. Is that correct? Should that resolve the following:
my script fails If I run it from windows explorer (double clicking it).
I receive the following message running my script in IDLE:
import arcgisscripting
ImportError: DLL load failed: %1 is not a valid Win32 application.
Cheers,
James