Results 1 to 10 of 10
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Forced folder-choice on opening? (WinXP/OXP)

    Does anyone know if it's possible to force Outlook to open in either the Inbox or 'Outlook Today' (the available choices once in) by adding a switch or something to the command line that sets it going? Or just what the command line would be to open Outlook *without* forcing either?

    I use MailWasher Pro, which is set to automatically open Outlook, but when I use this it forces Outlook to open in the Inbox, whereas I have it set to open in 'Outlook Today'. I've spoken to the MailWasher people, who've pointed out you can specify a command line to open your email client rather than just accepting MailWasher's defaults, but the Outlook shortcut doesn't give it's command line, just says 'Microsoft Outlook', greyed out, in the target box.

    Any help would be greatly appreciated!
    Beryl M


  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    Assuming Outlook 2002 is installed in the default location, you can create a new shortcut with target

    "C:Program FilesMicrosoft OfficeOffice10Outlook.exe" /select "outlook:foldername"

    where foldername is the name of the folder you want to open. For example:

    "C:Program FilesMicrosoft OfficeOffice10Outlook.exe" /select "outlookutlook today"
    or
    "C:Program FilesMicrosoft OfficeOffice10Outlook.exe" /select "outlook:inbox"

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    Thanks, Hans - you were sorely missed, you know!

    I'll try that this evening (it's on my home machine).

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>
    Beryl M


  4. #4
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    Quick follow-up, Hans - your command line worked perfectly, thanks, but do you by any chance happen to know if there is a nice handy switch available to make the command line check if Outlook is already open and if so restore that window, only opening a new copy if not?

    The reason I ask is Mailwasher behaves like that using its default settings, but with the new command line a new window is opened every time it's clicked! Since the way I use Mailwasher is to go check it every so often and click on the button to go through to Outlook when there is something there to download, while leaving Outlook open all the time in the background, at the moment I'm not sure which is worse - the wrong folder every time, or dozens of copies! <img src=/S/headthrob.gif border=0 alt=headthrob width=15 height=15>

    Here's hoping you can produce the answer by magic again! <img src=/S/grovel.gif border=0 alt=grovel width=31 height=23>
    Beryl M


  5. #5
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    Wow! After that last post, I decided to try to get into your good books ( <img src=/S/smile.gif border=0 alt=smile width=15 height=15>) by 'helping myself', and did some googling - and I found this fantastic site called Outlook tips.

    The specific page I found gives a complete list of dozens of switches that can be used - it seems brilliant to me!

    Do we have a list of recommended resources, because if we do I really think this should be added to it!!

    <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Beryl M


  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    I hope you found something on the Outlooks Tip site you mention in your next reply, for I don't know the answer to this one.

  7. #7
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    I did indeed! The switch 'recycle' will do exactly as I wanted - and without affecting the currently selected folder, too! Hey, am I on a roll today, or what?! <img src=/S/groovin.gif border=0 alt=groovin width=21 height=21>

    It also says that apparently in most cases you can shortcut the command line down to just one word (plus switch(es)), so you don't usually even have to use the full path, as follows:

    Outlook /recycle

    Having said that, I just tried that from both the command prompt and in a newly created shortcut and it didn't work in either one, so when the "usual" occasions are, I don't know!
    Beryl M


  8. #8
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    >It also says that apparently in most cases you can shortcut the command line down to just one word (plus switch(es)), so you don't usually even have to use the full path

    The only times I've managed to get that to work is from the command line inside Outlook itself - not from the Windows command line.
    Gre

  9. #9
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    Sounds about right, judging by my experience so far! <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>
    Beryl M


  10. #10
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Forced folder-choice on opening? (WinXP/OXP)

    For 2003 the MS Web-based help is handy: Switches, it's where I go for my research on switches for this Forum. Which reminds me that there's a VBA project that I want to tackle using the

    /f msgfilename

    switch. Where does the time go?
    -John ... I float in liquid gardens
    UTC -7DS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •