Browse Prior Art Database

Environment Specifications via a Desktop Object's Settings

IP.com Disclosure Number: IPCOM000105113D
Original Publication Date: 1993-Jun-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 4 page(s) / 95K

Publishing Venue

IBM

Related People

Johnson, WJ: AUTHOR [+3]

Abstract

Currently, no method exists for allowing a desktop object to add or change the system set of environment variable values from within its saved settings. There are many instances when a user requires either a different set or additional values for the various modifiable environment variables. Also, situations arise where new environment variables need to be created and set prior to application invocation. A quick and efficient method for allowing user specification of these object requirements is described within this invention.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Environment Specifications via a Desktop Object's Settings

      Currently, no method exists for allowing a desktop object to
add or change the system set of environment variable values from
within its saved settings.  There are many instances when a user
requires either a different set or additional values for the various
modifiable environment variables.  Also, situations arise where new
environment variables need to be created and set prior to application
invocation.  A quick and efficient method for allowing user
specification of these object requirements is described within this
invention.

      Desktop objects have settings which describe to the operating
system certain desired characteristics and operating specifications
for the object.  These properties are user modifiable.  Some examples
of object properties include the command used to invoke the
application, the parameters passed at invocation, the default
directory to use during run time, minimized button behavior, open
object behavior, object title specification, object class
specification and displayed icon selection.  All the aforementioned
properties are extremely useful in the customized tailoring of a
user's desktop.

      This invention involves a method whereby users can specify, in
an object's properties dialog, the name of a file to be used in
tailoring environment variable values.  This file is processed by the
operating system at object invocation time.

      An application developer wishing to cause dynamic modification
of certain environment settings could create a file such as that
shown in the figure.  The file, named EDITVARS.SYS, would be
specified in the object's properties.  At object invocation, when the
operating system creates a new session, the default environment
variables set by the CONFIG.SYS file would be modified by
interpretation of those in the EDITVARS.SYS file.  Only those objects
which specify the EDITVARS.SYS file or some other file in their
object properties would have changes made to the basic system set.

      In the figure, the first line of the file adds an additional
four directory names to the beginning of the PATH specification.
therefore, if the PATH specification is by default
"C:\;C:\OS2;C:\OS2\SYSTEM;", the new value for PATH is
"c:\editor;c:\utils;c:\tools;c:\cmd;C:\;C:\OS2;C:\OS2\SYSTEM;".  The
second line shown in the Figure appends four...