Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a VBSCRIPT file that is used to backup a database once every day at a particular time, this was done using task scheduler but my problem now is this script requires you to press ok or cancel to complete the operation.

In the run command line of the Scheduler is there any switch that I can use so that it does not sit and wait for me to click ok to complete the task?

share|improve this question

1 Answer 1

I would think it would be the VBScript calling up the dialog (MessageBox), and not TaskScheduler. You need to look at the script file and delete or comment out the lines that do that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.