Section Labels

Creating the Initial File | Testing | Implementation

Basic Techniques: Mapping Drives | Connecting Printers | Section Labels

More Advanced Techniques: Group Membership For Mappings | Record Script Results | Location Detection | Machine ID | OS Detection |
Registry Changes | Redirection of IE Favourites | Existing File / Directory Check | Limit the Number of Network Logins a User Can Make

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


Top of the Page - Home Page
Last Page Update: 08/03/2012

© Sembee Ltd. 1998 - 2012.

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.