Shift-3 provided a script for me to zip all files of a chosen extension, retaining files names. When I run it from a Windows 2003 server it comes back with an error message: Object required: 'obj.namespace(...)'. Code 800A01A8.
Shift-3 original script: http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_23911898.html?cid=239#a22979512
It zips the 1st file but whilst zipping it, it comes up with the error message. If I leave the message open, it finishes zipping the file but does not delete the original and then seems to just sit there uintil I clear the message; which closes the script.
It seems to work ok for other file types such as htm but not too well on .stl and .igs.. the types that I need to compress. For instance I tried it on .htm and it worked. This is why I thought it was working fine during testing as I did it against .txt and .doc files mainly.
The only change I made was setting it to include the original extension when creating the .zip; i.e. filename.igs.zip
Could it be the size of the files?