Re: .bat to script file
Why do you think that converting it to a script file would help? Rather tell us more about the error you are getting. A session log file would help.
Btw, using
Btw, using
option confirm on
from a task scheduler looks like a bad idea.