On this Page

    -context

    Define a context menu to present when an identified file is right-clicked.

    Syntax

    -context{n} name, command

    Description

    This allows you to define a context menu to be presented when an item identified by the -fileMask is right-clicked on. -context1 is very special as it also defines the action to be taken when the item is simply double-clicked. Each -context{n} item is defined in terms of a Windows command. As per the exemplar DocOriginNotify.prm file, the typical -context1 context operation is to simply "Windows start" the file and let the program associated with the file's extension be run.

    A 'delete the file' context item may be useful too so as to readily "be done with a task that you have completed".

    As per the exemplar, it is useful to call command prompt files (.bat) so that the processing associated with a context item can be more readily tailored as ongoing needs change.

    See Also

    Command Line Processing
    Command Options - Notify