Providing command files with access to data stores that are inaccessible to command line operations
First Claim
1. A method comprising:
- creating a temporary command file by executing an original command file, during execution of the original command file, retrieving configuration information from a data store by accessing the data store through an Application Programming Interface (API) associated with the data store, adding one or more command line operations to the temporary command file that are dependent upon the configuration information;
executing the temporary command file; and
utilizing the configuration information retrieved from the data store during execution of the temporary command file.
1 Assignment
0 Petitions
Accused Products
Abstract
According to the invention, systems and methods are disclosed for allowing command files to access information in a data store. This method consists of executing a first, original command file. A second, temporary command file is then created by a command file generator program. The temporary command file includes one or more commands based upon information from a data store that is accessible only by way of an Application Programming Interface (API). Information from the data store is then used during execution of the temporary command file. The original command file defines the scope of temporary environmental variables for storing information to be retrieved from the data store by a command file generator program and stored in the temporary command file, executes the temporary command file, branches around the operations contained in the body of the original command file which have been performed by the temporary command file, and cleans up the local environment. A command file generator, executed by the original command file generates the temporary command file, accesses information from a data stores through Application Programming Interfaces (APIs) associated with the data store, and generates one or more commands for inclusion in the temporary command file based upon the information retrieved from the data store. The temporary command file stores information retrieved from the data store in one or more local environmental variables, and performs processing based upon the content of the environmental variables and the original command file.
29 Citations
25 Claims
-
1. A method comprising:
-
creating a temporary command file by executing an original command file, during execution of the original command file, retrieving configuration information from a data store by accessing the data store through an Application Programming Interface (API) associated with the data store, adding one or more command line operations to the temporary command file that are dependent upon the configuration information;
executing the temporary command file; and
utilizing the configuration information retrieved from the data store during execution of the temporary command file. - View Dependent Claims (2, 3, 4, 5)
a header containing a predetermined set of commands;
a body containing commands for accessing the configuration information and making the configuration information available through temporary environmental variables; and
a footer containing commands for cleaning up a local environment.
-
-
5. The method of claim 1, wherein the data store comprises a Windows Registry.
-
6. A method comprising:
-
defining a scope for one or more temporary environment variables;
creating a temporary command file including command line operations contained in a body of an original command file by executing a command file generator program from within the original command file, the command line operations referring to the one or more temporary environment variables;
executing the temporary command file; and
during execution of the original command file, branching around the command line operations copied from the body of the original command file. - View Dependent Claims (7, 8)
-
-
9. A method comprising:
-
executing a program from within an original command file;
the program creating a temporary command file;
the program accessing configuration information from one or more data stores; and
the program generating one or more command line operations for inclusion in the temporary command file based upon the configuration information retrieved from the one or more data stores. - View Dependent Claims (10, 11)
-
-
12. A computer system comprising:
-
a storage device having stored therein a routine for allowing command files to access configuration information in a data store which is accessible by way of an Application Programming Interface (API); and
a processor coupled to the storage device to execute the routine, where;
an original command file creates a temporary command file, the temporary command file including one or more commands copied from the original command file; and
the temporary command file executes the one or more commands copied from the original command file based upon the information in the data store. - View Dependent Claims (13, 14)
a header containing a predetermined set of commands;
a body containing commands for accessing the configuration information and making the configuration information available through temporary environmental variables; and
a footer containing one or more commands for deallocating the temporary environment variables.
-
-
14. The computer system of claim 12, wherein the data store comprises a Windows registry.
-
15. A machine-readable medium having stored thereon data representing sequences of instructions, the sequences of instructions which, when executed by a processor, cause the processor to:
-
creating a temporary command file by executing an original command file, during execution of the original command file, retrieving configuration information from a data store by accessing the data store through an Application Programming Interface (API) associated with the data store, adding one or more command line operations to the temporary command file that are dependent upon the configuration information;
executing the temporary command file; and
utilizing the configuration information retrieved from the data store during execution of the temporary command file. - View Dependent Claims (16, 17, 18, 19)
a header containing a predetermined set of commands;
a body containing commands for accessing the configuration information and making the configuration information available through temporary environmental variables; and
a footer containing commands for cleaning up a local environment.
-
-
19. The machine-readable medium of claim 15, wherein the data store comprises a Windows Registry.
-
20. A machine-readable medium having stored thereon data representing sequences of instructions, the sequences of instructions which, when executed by a processor, cause the processor to:
-
define a scope for one or more temporary environment variables;
create a temporary command file including command line operations contained in a body of an original command file by executing a command file generator program from within the original command file, the command line operations referring to the one or more temporary environment variables;
execute the temporary command file; and
during execution of the original command file, branch around the command line operations copied from the body of the original command file. - View Dependent Claims (21, 22)
-
-
23. A machine-readable medium having stored thereon data representing sequences of instructions, the sequences of instructions which, when executed by a processor, cause the processor to:
-
execute a program from within an original command file;
the program creating a temporary command file;
the program accessing configuration information from one or more data stores; and
the program generating one or more command line operations for inclusion in the temporary command file based upon the configuration information retrieved from the one or more data stores. - View Dependent Claims (24, 25)
-
Specification