Home Products Customers Tips VBA OfficeOne on Mac Contact us

OfficeOne LaunchBuilder

LaunchBuilder creates executables that can launch other executables with their command-line arguments. While creating the executable with LaunchBuilder, you can specify the command-line arguments that should be passed to the executable that should be launched. When the compiled executable is executed, it passes these arguments to the executable.

Besides launching executables, LaunchBuilder can create executables that perform a host of other functions. See Remarks for more details.

Download

Download the 13 Kb executable from here.

Usage

To build a launcher, use:

LB /b <Executable_File_Name>.exe <Verb> <Command> <Parameters>

Remarks

Some of the verbs that can be specified in <Verb> are:

Verb Description
open Opens the file specified by the <Command>. The file can be an executable file, a document file, or a folder. 
explore Explores the folder specified by <Command>.
find Initiates a search starting from the folder specified in <Command>.
print Prints the document file specified by <Command>. If <Command> is not a document file, the executable will fail.

<Command>: Command argument can be a filename or an executable or a folder or a shortcut or a 
Shell Command file. Filenames and folders have to be specified in double quotes (") if they are Long File Names (LFNs).

Examples

  1. The following example will print the readme.txt file (which is in the same folder as the executable PrintReadme.exe):

    LB /b PrintReadme.exe print readme.txt

  2. The following example creates an executable called AutoPlay.exe. When AutoPlay.exe is executed, it executes the PowerPoint Viewer (ppview32.exe) with the argument ShowList.lst:

    LB /b AutoPlay.exe open ppview32.exe ShowList.lst

Home | Products | Tips | VBA | FAQ | Utilities | Disclaimer | Privacy Policy | Mac | Links | Contact us

Contact OfficeOne on email at officeone@officeoneonline.com. Copyright © 2001-2017 OfficeOne. All rights reserved.

page counter