DriveWorks Pro 15: How To: Automatically Start Autopilot (KB13103034) [send feedback...]

How To: Automatically Start Autopilot

It is possible to automatically launch DriveWorks Autopilot from a command line.

One use of this functionality is to automatically start DriveWorks Autopilot when the computer is rebooted.

Command Line Arguments

All command line arguments must start with the location and file name of the DriveWorks Autopilot executable file to launch, for example:

"C:\Program Files\DriveWorks\<Version Number>\DriveWorksAutopilot.exe"

Argument Values

The values passed into the arguments are not case sensitive.

If any value contains a space, the entire value must be enclosed within quotes. For example:

The group name My Group will be passed into the command line argument as "My Group".

The command line arguments understood by DriveWorks Autopilot are:

ArgumentDescriptionNotes
/Group:<GroupName>
When using DriveWorks 10 this argument is:

/GroupName:<GroupName>

The name of the DriveWorks Group to open.If the group to open appears in the DriveWorks Recent Groups list only the name of the group is required.
If the group to open is an Individual Group and is not in the Recent Groups list the full path and group extension is required.
If the group to open is a Shared Group and is not in the Recent groups list the Provider, Server and Name fields will identify the Group is Shared, the server it resides on and the name of the group.
/Username:<UserName>Log on to the Group with the given username.
/Password:<password>Log on to the Group with the given password.
/autoStartAutomatically start DriveWorks Autopilot after logging on to the Group.
This argument is only intended to be used to automatically start specification and email processing.

Examples

Command Line ScriptDescription
"C:\Program Files\DriveWorks\11\DriveWorksAutopilot.exe" /Group:C:\DriveWorks\CorporateGroup.drivegroup /userName:admin /password:somePassword /autoStart
  • Logs on to the Individual Group CorporateGroup
  • With the user name admin
  • And the password somePassword
  • And auto starts Autopilot.
"C:\Program Files\DriveWorks\11\DriveWorksAutopilot.exe" /Group:"Corporate Group" /userName:"My User Name" /password:"My Password" /autoStart
If an argument value contains spaces, the value should be enclosed in quotation marks.
  • Logs on to the Individual Group Corporate Group
  • With the user name My User Name
  • And the password My Password
  • And auto starts Autopilot.
"C:\Program Files\DriveWorks\11\DriveWorksAutopilot.exe" /Group:Provider=RemoteGroupProvider;Server=DriveWorks;Name=CorporateGroup /userName:admin /password:somePassword /autoStart
  • Logs on to a Shared Group (Provider=RemoteGroupProvider) on the server DriveWorks (Server=DriveWorks) with the name CorporateGroup (Name=CorporateGroup)
  • With the user name admin
  • And the password somePassword
  • And auto starts Autopilot.

DriveWorks Tech Tips Portal

Autopilot Autostart

Includes a .bat file with instructions to demonstrate how to automatically start Autopilot, open a group and set it to run.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://hub.driveworks.co.uk/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.


Knowledge Base Article Ref:KB13103034

Table of Contents