Scheduled task stopped by msg box

P

Philippe

When running my dos program, I always have the message
box "An application has attempted to directly access the
hard disk..." and have to click "Ignore" to continue. How
may I execute the application as scheduled task without
being blocked by this message? (knowledge base article
101500)
 
J

Jerold Schulman

When running my dos program, I always have the message
box "An application has attempted to directly access the
hard disk..." and have to click "Ignore" to continue. How
may I execute the application as scheduled task without
being blocked by this message? (knowledge base article
101500)

You can launch it from a batch file with the start command, and use Sendkeys,
tip 2531 in the 'Tips & Tricks' at http://www.jsiinc.com, to press the Ignore
button.



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
P

Philippe

With Sendkeys, it works fine when the user who executes
the scheduled task is on line: I see the open cmd window,
the messagebox and the sendkeys' action. But, if the
scheduled task is launched during the night the sendkeys'
action does not reach its target window and the cmd
program is hanged. Is there a workaround for this? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top