Thanks for the reply Michael!

I tried that... no luck. Works on the command line but not in the task scheduler.