But...the script as posted worked fine once I re-installed WSH. And, as I mentioned, it had worked fine for months up until the other day, even without declaring the variables...

Before reinstalling WSH, I went through the script, declaring all the variables, and was still getting odd behavior. In particular, the DirPlus calls were not generating arrays, as they prevoiusly had..unless I was declaring the variables incorrectly, which is possible. Is this the correct method:

Code:
DIM $artist,$artistiso,$x

...etc?

I would think that it could have been a UDF which requires WSH causing the problem, but none of the UDFs in the script list WSH as a prerequisite.