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'm running windows 7. Every 10 seconds, a script will run that will send a popup command line box and close at the end of the script.

In the meantime, when I'm using other applications, I am continuously interrupted by the poppups, which seizes focus away from my current application.

Is it possible to disable the focus of the popup command line boxes so that they will still appear but stay in the background ?

share|improve this question

migrated from stackoverflow.com Aug 1 '10 at 17:59

This question came from our site for professional and enthusiast programmers.

1  
Is this your script? –  Kylotan Jul 31 '10 at 10:58
    
sounds like a serverfault question. –  Talvi Watia Jul 31 '10 at 11:03
    
If there's no good reason for those to be popping up (like Kylotan said, is it your script? Or are you on a corporate network?), then you may have a virus. –  Merlyn Morgan-Graham Jul 31 '10 at 11:29
    
I've had this before working on corporate machines - very annoying. Shame Windows doesn't do stuff nicely in the background like a *NIX box with cron would.. –  Dentrasi Nov 10 '10 at 1:28

1 Answer 1

First, is this your script?

If so:

  • Consider running the program with hstart. It hides the console Window, preventing anybody from seeing it. Note that its best to use some kind of log file since errors won't show up either.

If not:

  • Check your scheduled tasks and see if there is anything that runs very frequently and delete it. Next, do a virus scan. See if you can spot the process in task manager or System Explorer.
share|improve this answer
    
Absolutely agree. No script (especially not one running that frequently) should be running in a console window for the interactive user. –  jcrawfordor Nov 9 '10 at 23:31

Your Answer

 
discard

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