>>BTW, what is in oProcess. at the moment of the error? Could you have wrong data (not string format)?
>
>The line was cut. It should have been oProcess.oApp.cCr. This is a carriage return which is added after each line I add in my string builder in regards to that particular section. So, I have dozen of lines before that one and they all have the same oProcess.oApp.cCr at the end. I also tried to remove it. It didn't help.
One of the advices is to concatenate using & and not +. Did you try that?
Also your original message is really strange. You're saying that if you remove one character from the string .js you don't get an error? Is so, can you place just file name in a separate variable? Are you still having errors?
If it's not broken, fix it until it is.
My Blog