Windows Live Messenger 2009 command line parameters
Windows Live Messenger 2009 has a number of available parameters you can use to start actions within Messenger without opening it up. You can use these for a variety of purposes, like scripts, hotkey/macro applications and anywhere else where you can start a program.
|/available||Sets your status to available (online)|
|/busy||Sets your status to busy|
|/away||Sets your status to away|
|/invisible||Sets your status as appear offline|
|/sendim||Opens the “Send an instant message” window|
|/msn||Opens the MSN home page|
|Opens your Hotmail inbox|
|/profile||Opens your Windows Live profile|
|/signoutal||Signs you out of Messenger from all logged in computers|
You can use several at once, the actions will be executed in order.
If you’re not familiar with adding parameters, to use these you’ll need to append the parameter to the end of starting the Messenger executable. For example, pop open the Run dialog by pressing the Windows key and R (or click Start then Run on XP, or in Vista/7 click Start and type in the search field at the bottom).
Try again with msnmsgr /email and you’ll see your Windows Live Hotmail inbox open. For fun, try msnmsgr /away /profile /sendim and you’ll see Messenger set you to away, then open up your Windows Live ID profile, and finally the “Send an instant message” window will appear.
Note that in other applications (say a macro program or a script), you’ll need to specify the full path to the Messenger executable, which will be \Program Files\Windows Live\Messenger\msnmsgr.exe (Program Files (x86) on 64-bit Windows).