loginscripts.info
from Sembee Ltd.
UK MS Exchange Consultants
 

Page Last Updated: 24/04/2011
Section Labels

One of the first things you will want to do is label sections of your script. This makes it easy to control what happens and how the script is processed by the client. You can then skip stages depending on results from other commands. These are very simple to create.

To label a section, type a ":" then the name. For example:

:accounts

When you want to move to that section in a script (usually from the results of another command) use the goto command, with the label, but minus the ":". For example

goto accounts


More Content from Sembee Ltd.
 
Resources on exchange.sembee.info Other Sites Sembee Ltd.
Microsoft Exchange 2003 Command Prompt Getting Started Guide Microsoft Exchange Consultancy
Microsoft Exchange 2007 Login Scripts Director's Blog
Microsoft Exchange 2010 MS Exchange Resources  
Microsoft Outlook Knowledge Base search  
Exchange Networking Tasks Recovery of MS Office content from Temp Files  
Amazon Store Troubleshoot the Automatic Updates Client  
  UK ISP Status Pages  
© Sembee Ltd. 1998 - 2011.
Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions. All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.

Sembee Ltd. is registered in England and Wales at 33 Scrivens Mead, Thatcham, Berkshire, RG19 4FQ.
Registered company number: 4704428. VAT Number GB 904 5603 43.