############## 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 ##############


	          PDMTrail    version 2.18

	 This program creates and runs a trailfile to search objects in
	 Pro/PDM databases and to perform actions on the objects found.

	 Syntax:
	   pdmtrail [options] [objects]

	 Options:
	   -h             - Show this help screen
	   -i yyy         - Use objectnames in inputfile yyy
	                    Syntax: name.ext
	   -browser       - Use objectnames from browser.txt.1
	                    Create it with Ctrl-P in your Pro/PDM browser..
	                    It will only process the objects with an extension.
	                    It will use the database name in the browserfile.
	                    If you need to skip objects, edit the browserfile first
	                    and leave only the objects which are needed.
	   -cmd yyy       - Use pdm start command yyy (default: pdm37)
	   -all           - Search all Revisions (Default=LATEST)
	   -after DATE    - Search only after DATE (mm/dd/yy)
	   -before DATE   - Search only before DATE (mm/dd/yy)
	   -f             - Fetch objects (Dependencies=All)
	   -f_none        - Fetch objects (Dependencies=None)
	   -f_required    - Fetch objects (Dependencies=Required)
	   -force_d       - Force checking Dbase Selection Nr.
	   -d yyy         - Search in database yyy
	                    default is all databases
	   -setrev yyy    - Set revision to yyy (e.g. 3.0)
	   -promote yyy   - Promote to Rel.Level yyy
	   -demote yyy    - Demote to Rel.Level yyy
	   -conflict_off  - Don't account for fetch conflicts message,
	                    See README.TXT
	   -silent        - Run silently.
	   -dontrun       - Don't run Pro/PDM.

	 Example:
	   pdmtrail -f -d PURCHASE din_912.prt
	          Fetch from the databse PURCHASE the part din_912.prt.

	 Note: Your Pro/PDM startup script needs to be edited
	       to support the pro_wait option. Change this line:

	       	%start_cmd% "%PRO_DIRECTORY%\%MC%\obj\pdm.exe" %1 %2 %3 %4 %5 %6

	       into

	       	set commarg=%1 %2 %3 %4 %5 %6
	       	set slashw=
	       	if NOT "%1" == "pro_wait" goto next1
			set slashw=/w
	       	set commarg=%2 %3 %4 %5 %6 %7
	       	:next1
	       	%start_cmd% %slashw% "%PRO_DIRECTORY%\%MC%\obj\pdm.exe" %commarg%

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