SQL Server Performance

Close Outlook from your home...

Discussion in 'The Lighter Side of Being a DBA' started by ramkumar.mu, Nov 7, 2006.

  1. ramkumar.mu New Member

    Problem Situation:

    Friday night in the comforts of your home. Looking ahead for a happy weekend.

    You suddenly remember that you are going to receive an important mail from onsite, on Friday EOD their time i.e. Saturday morning our time, for which you have to reply. The contents of the mail is not the problem.

    You know you could reply in your comforts of your home using webaccess.

    The Big Bang. You forgot to close Outlook and the mail will sink into your PST.

    Solution 1:
    Go to office first thing on Saturday morning just to close outlook or reply to the mail if it has already arrived.

    Solution 2:
    Send an email on Friday night to your own email ID, which is preconfigured to close Outlook in your machine.

    Cool…right?… So how do you do it?

    Open Notepad
    Type “tskill outlook” //without the quotes
    Save it as closeoutlook.bat, in a secure location

    Open Outlook
    Go to Tool-> Rules and Alerts
    Choose “New Rule”
    In the “Rules Wizard” popup choose “Start from a blank rule”. Leave the default option of “Check message when they arrive”. Click Next.
    Tick “with specific words in the subject or body”. Click on “specific words” at the window and type a text like “kindlyclosemyoutlook”. Click Next.
    In the new options pane, tick “start application”. Choose the “closeoutlook.bat” file by browsing. By default it will show only *.exe files I the browse panel. Choose all files to view your file.
    Click Next and then Finish.
    Voila! You are done.

    Test it by sending a mail to yourself with the text “kindlyclosemyoutlook” in your mail subject or body.


    "It is easy to write code for a spec and walk in water, provided, both are freezed..."
  2. FrankKalis Moderator

    Works. Thanks for that! [<img src='/community/emoticons/emotion-1.gif' alt=':)' />]<br />So, that means that you don't turn off your machine when you go home? What a waste of energy. [<img src='/community/emoticons/emotion-5.gif' alt=';)' />]<br /><br />--<br />Frank Kalis<br />Moderator<br />Microsoft SQL Server MVP<br />Webmaster:<a target="_blank" href=http://www.insidesql.de>http://www.insidesql.de</a>
  3. ramkumar.mu New Member

    [<img src='/community/emoticons/emotion-1.gif' alt=':)' />][<img src='/community/emoticons/emotion-1.gif' alt=':)' />]<br /><br />Thanks,<br />Ram<br /><br />"It is easy to write code for a spec and walk in water, provided, both are freezed..."
  4. Madhivanan Moderator

    &gt;&gt;What a waste of energy. <br /><br />Anyway you need to click and scroll<br />[<img src='/community/emoticons/emotion-2.gif' alt=':D' />]<br /><br />Madhivanan<br /><br />Failing to plan is Planning to fail

Share This Page