Scheduled task stopped by msg box

  • Thread starter Thread starter Philippe
  • Start date Start date
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)
 
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
 
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.
 
Back
Top