IlinkTrail    version 0.47
         ############## D I S C L A I M E R ##############
         #                                               #
         # IN NO EVENT SHALL OLAF CORTEN OR HIS EMPLOYER #
         # BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,  #
         # SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES #
         # ARISING OUT OF THE USE OF THIS SOFTWARE AND   #
         # ITS DOCUMENTATION, EVEN IF OLAF CORTEN OR HIS #
         # EMPLOYER HAS BEEN ADVISED OF THE POSSIBILITY  #
         # OF SUCH DAMAGE.                               #
         #                                               #
         # OLAF CORTEN AND HIS EMPLOYER SPECIFICALLY     #
         # DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT  #
         # LIMITED TO, THE IMPLIED WARRANTIES OF         #
         # MERCHANTABILITY AND FITNESS FOR A PARTICULAR  #
         # PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS  #
         # ON AN "AS IS" BASIS, AND OLAF CORTEN OR HIS   #
         # EMPLOYER HAS NO OBLIGATION TO PROVIDE         #
         # MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,  #
         # OR MODIFICATIONS.                             #
         #                                               #
         ############## D I S C L A I M E R ##############


         IlinkTrail    version 0.47

         This program creates, compiles and runs a scripting files to locate
         objects in Pro/INTRALINK and to perform actions on the objects found.
         You can use wildcards for the objects you wish to locate.
         Use the script also to perform specific Workspace tasks.

         Syntax:
           ilinktrail [options] [objects]

         Options:
           -h             - Show this help screen
           -i yyy         - Use objectnames in inputfile yyy.
                            Syntax: name.ext or an Intralink output file.
                            An Intralink output file must have this syntax:
                            Row # Name ....
                            If yyy=Default it will use the search result from the previous run.
           -path yyy      - Set PDM_LDB_PATH to yyy
                            not needed if you create an environment var.
           -cmd yyy       - Use ilink start command yyy (default: proilink3.3)
           -loadpoint xxx - Full path to where Intralink is installed.
                            (default: c:\ptc\proiclient3.3).
           -user xxx      - Login as user xxx. (default=INTRALINK)
           -passwd xxx    - Use login password xxx (otherwise uses known default).
                            if xxx = NONE the password is left empty.
           -delete        - Delete Workspace.
           -create        - Create Workspace.
           -compact       - Compact database file first.
           -ws xxx        - Use Workspace xxx (default: IlinkTrail).
           -tc xxx        - Use Table Configuration xxx.
                            Put between quotes if you've got spaces in the name:
                            e.g.: -tc "New & Modified".
           -list          - Create Workspace Listing.
           -all           - Search all Revisions and Versions (default=Latest)
           -allrev        - Search all Revisions (default=Latest)
           -allver        - Search all Versions (default=Latest)
           -common xxx    - Search objects with Common Name xxx
                            If xxx=[empty] search for objects with empty Common Names:
                            e.g. -common [empty]
           -after DATE    - Search only after DATE (mm/dd/yy)
           -before DATE   - Search only before DATE (mm/dd/yy)
                            DATE can also be OFFSET x, which means x days ago.
           -folder xxx    - Search only in folder xxx (tip: use wildcards)
                            default is all folders. Put between quotes:
                            Example: -folder "Root Folder/Library/*"
           -generic xxx   - Search Generics, where xxx can be true or false
           -instance xxx  - Search Instances, where xxx can be true or false
           -rellev xxx    - Search for Release Level xxx.
           -html          - Create html output of objects found instead of txt.
           -bom           - Generate BOM Report
           -checkout      - Checkout objects
           -dep xxx       - Set Checkout Dependencies to xxx (default All ).
                            Where xxx can be:
                            o all
                            o required
                            o members
                            o none
           -mem xxx       - Set Checkout Members to xxx (default latest).
                            Where xxx can be:
                            o latest
                            o ...
                              anyname you created. Prevent spaces and this is case sensitive.
           -inc xxx       - Set Checkout Include to xxx (default=Generics).
                            Where xxx can be:
                            o drw (Drawings)
                            o nogen (Generics)
                            o ins (Instances)

           -checkin       - Checkin all objects (use -tc option to filter desired objects).
           -dupfrom xxx   - Duplicate objects from xxx to *_.* or dupto
           -dupto xxx     - Duplicate objects from *.* or dupfrom to xxx
           -setrev y      - Set revision to y (e.g. A)
           -update        - Update workspace objects (use -tc option to filter desired objects).
           -promote yyy   - Promote to Rel.Level yyy
           -demote yyy    - Demote to Rel.Level yyy

           -bslnnew xxx   - Create baseline xxx for all objects found.
           -bslndel xxx   - Delete baseline xxx
           -bslnold xxx   - Rename baseline xxx to xxx_old

           -whereused     - Create Where Used report for each object
           -export        - Export every object in Workspace to current dir.
                            Export deps are always set to None, assuming all deps are in WS.
           -foldmod xxx   - Modify WS objects to folder xxx.

           -purge xxx     - Run purge script: xxx (put in quotes if spaces are needed).
           -pexport xxx   - Export purge script: xxx to c:\xxx.scr (no spaces allowed).
           -pimport xxx   - Import purge script: c:\xxx.scr to xxx (no spaces allowed).
           -pdate DATE    - Change date in script to DATE (mm/dd/yy).
                            DATE can also be OFFSET x, which means x days ago.
           -override xxx       - Set purge override to xxx where xxx can be:.
                                 o in_use
                                 o last_version
                                 o with_status
           -verify        - Do a purge verify first (output written to html file)

           -foldnew xxx      - Create folder xxx
           -foldbase xxx     - Create new folder from base xxx
           -foldscheme xxx   - new folder release scheme
           -foldcluster xxx  - new folder master cluster
                               Above 4 must be used at the same time.
           -folddescr xxx    - new folder description

           -silent        - Run silently.
           -time          - Add timestamps at the beginning and end.
                            Output is written to logfile.
           -graphics      - Run in graphics mode.
           -dontrun       - Don't run Pro/INTRALINK.
           -noexit        - Don't exit Intralink at the end.

         Examples:
           ilinktrail -checkout din_912.prt
                  Checkout the part din_912.prt.
           ilinktrail -instance true -folder "Root Folder/Library/*" -html *
                  Find all instances in Libary folder and make html listing of them.
           ilinktrail -foldnew Fasteners -foldbase "Root Folder/Engineering" -foldscheme Engineering -foldcluster Library
                  Create folder Fasteners in Engineering folder.

         Note1: Your Pro/INTRALINK startup script needs to be
                edited to support this tool.
                See: http://www.ptc.com/cs/tan/117004.htm


         Author: Olaf Corten, the Netherlands
         WWW: http://www.proesite.com