DDLaunch (id=256)
DDLaunch

DDLaunch Introduction

Command Line Arguments

Template Wildcards

Configuring DDLaunch

Saving a Template

Example Templates


DDLaunch Introduction (id=258)
DDLaunch Introduction

DDLaunch is a utility that allows you to take advantage of the Drag & Drop features of the Windows File Manager.  To use DDLaunch, enter a string (referred to as the template) that will be executed when one or more files are dragged from the File Manager onto the DDLaunch icon.  The names of the files will be combined with the template and the resulting command will be executed.


Command Line Arguments (id=259)
Command Line Arguments

DDLaunch supports the following command line flags.  Flags begin on the command line with either '-' or '/'.  If multiple flags are used, they must be separated by a space.  If the argument of a flag includes a space, the entire argument must be enclosed in single or double quotes (except for the /x flag).

Flag	Description

/^	sets the character that is used as the insertion point for the filenames in the template.

/d	sets the character that is used to separate multiple filenames on the template

/t...	sets the title that is displayed beneath the DDLaunch icon.  This is also the default for unflagged argumnents on the command line.

/x...	sets the template.  If this flag is used, it must be the last flag on the command line (All subsequent flags are considered to be part of the template).  This is also the default for unflagged arguments on a template.


Template Wildcards (id=260)
Template Wildcards

DDlaunch supports the following template wildcards.

Wildcard	Meaning

^	Marks the place where all of the filenames will be inserted into the command.  If this character is not included in an exec line, then all filenames will be appended to the end of the template.


Configuring DDLaunch (id=261)
Configuring DDLaunch

Title: The contents of this control will become the title of the DDLaunch icon as it is displayed on the desktop.  In addition, all templates that have been saved are available for use on the DDLaunch command line by specifying a title.  If the title includes a spaces, then it must be enclosed in quotes if it is included on the command line.

Default: Checking (or clearing) this box will change the current default template.  Note that the default does not change until you save the template.

Template: The contents of this control form a DDLaunch command string.  Included on this string are command line arguments for setting various DDLaunch parameters.  Following the arguments is the template, which will be combined with the filemanes dropped on the DDLaunch Icon to form the command to be executed.


command (id=264)
command

The command is the result of dropping one or more files onto the DDLaunch icon.  The command consists of the template and one or more filenames.


Saving a Template (id=265)
Saving a Template

To save a template, click on the 'Save' button in the configuration dialog.  This saves the title and builds a command string from the current settings of various DDLaunch parameters and the current template, making the information available in future sessions.  In addition, any saved template can be selected from the command line by including its title.

If you have checked the 'Default' box, then the current template is also saved as the new default template.


template (id=268)
template

The template is a string that, when combined with the names of the files dropped on the DDLaunch icon, becomes the command to be executed.


Example Templates (id=269)
Example Templates

This template could be used to view .zip files.  The name of the zip file will be appended to the command.  The title might be 'pkunzip' or 'View ZIP files'.

pkunzip -v

This template could be used to run the MS DOS Editor in monochrome mode.  This template uses the file insertion character to mark where the filename must be inserted.

edit.com ^ /B


title (id=270)
title

The title is the name that is associated with a particular exec line.  The title will be the name that is associated with the DDlaunch icon on the desktop, and will also be used to retrieve saved configurations.


default template (id=271)
default template

The default template will be used if DDLaunch is run without command line parameters.  Until you specify otherwise, the default template will be 'Notepad'.