Electrical computers and digital processing systems: multicomput – Computer-to-computer data routing – Least weight routing
Reexamination Certificate
2000-04-27
2004-01-20
Courtenay, III, St. John (Department: 2126)
Electrical computers and digital processing systems: multicomput
Computer-to-computer data routing
Least weight routing
C713S001000
Reexamination Certificate
active
06681265
ABSTRACT:
COPYRIGHT NOTICE
Contained herein is material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction of the patent disclosure by any person as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all rights to the copyright whatsoever.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The invention relates generally to the field of operating systems. More particularly, the invention relates to a method that allows a command file to access a data store, such as the Windows Registry, that is accessible only by way of an Application Programming Interface (API).
2. Description of the Related Art
The Windows® Registry is increasingly used to store application configuration information. Formerly, much of this information was stored in environment variables, which command files (such as files with a .bat or .cmd extensions) could access directly by coding the environment variable name surrounded by percent signs (e.g., “%MYAPPPATH%”). However, there is no way for command files to directly access data stored in the Registry.
Previously, three methods could be used to access data stored in the Registry. First, Registry data can be accessed by coding utility functions as programs rather than command files. Another solution is to duplicate information in both the Registry and in permanent environmental variables and use the environmental variables rather than the Registry. Finally, use of the Registry can be avoided and the information stored in permanent environmental variables only. However, each of these approaches has drawbacks.
To provide access to Registry data, utility functions can be coded as programs rather than command files. These programs can then access the Registry data by using the Windows APIs. However, this method is somewhat inefficient. Programs are more difficult and time consuming to write and maintain than command files. Therefore, this method detracts from developer productivity relative to a method that uses command files to access the Registry data.
Another method of providing access to Registry data is to duplicate the Registry data in permanent environmental variables and access these variables through a command file. This method has the disadvantage of requiring that the Registry data and the environmental variables be kept synchronized. However, it may actually be impossible to keep this data synchronized because the user can use mechanisms outside the applications control such as a Registry editor to manipulate the data. Therefore, the user can, either intentionally or inadvertently, create a situation in which the Registry data and the environmental variables are no longer synchronized.
Finally, the problem of accessing the Registry data can be avoided altogether by simply using permanent environmental variables in place of the Registry. As with the method that duplicates the Registry data in environmental variables, this method provides access to the environmental variables through a command file. However, this approach is contrary to Microsoft's policy of making the Registry the repository for application configuration type information.
SUMMARY OF THE INVENTION
According to one aspect of the invention, a method of allowing command files to access information in a data store is provided. This method consists of executing a first, original command file. A second, temporary command file is then created. The temporary command file includes one or more commands based upon information from a data store that is accessible by way of an Application Programming Interface (API). Information from the data store is then used during execution of the temporary command file.
In one embodiment, 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.
Advantageously, this method allows command files to access a data store such as the Windows Registry without some of the problems associated with prior approaches. First, access to the data store can be achieved through a command file which is easier to write and maintain than a program. Secondly, there is no concern about synchronization between the data store and permanent environmental variables used to mimic the data store. Finally, the method allows full use of the data store as intended, that is, as a central repository for configuration type information.
REFERENCES:
patent: 5367686 (1994-11-01), Fisher et al.
patent: 5696975 (1997-12-01), Moore et al.
patent: 5732269 (1998-03-01), Compton et al.
patent: 5740431 (1998-04-01), Rail
patent: 5742829 (1998-04-01), Davis et al.
patent: 5761499 (1998-06-01), Sonderegger
patent: 5771381 (1998-06-01), Jones et al.
patent: 5835769 (1998-11-01), Jervis et al.
patent: 6065116 (2000-05-01), Isaacson et al.
patent: 6167567 (2000-12-01), Chiles et al.
patent: 6170065 (2001-01-01), Kobata et al.
patent: 6184998 (2001-02-01), Tebeka
patent: 6237092 (2001-05-01), Hayes, Jr.
patent: 6289378 (2001-09-01), Meyer et al.
patent: 6347331 (2002-02-01), Dutcher et al.
patent: 6438749 (2002-08-01), Chamberlain
patent: 6449617 (2002-09-01), Quinn et al.
patent: 6449642 (2002-09-01), Bourke-Dunphy et al.
“How .INI Files Are Mapped to the Registry”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S84B4.HTM on Oct. 12, 1999, 2 pages.
“Windows for MS-DOS on Windows NT”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S84B3.HTM on Oct. 12, 1999, 1 page.
“Registry Sample: Using the Win32 API to Access the Registry”, Downloaded from http://msdn.microsoft.com/library/docdrg.htm on Oct. 12, 1999, 2 pages.
“Initialization Files and the Registry”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S84B0.HTM on Oct. 12, 1999, 1 page.
“Summary of Administrative Tools for the Registry”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S8489.HTM on Oct. 12, 1999, 1 page.
“Editing Values in the Registry”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S8472.HTM on Oct. 12, 1999, 3 pages.
“Finding a Key in the Registry”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S846F.HTM on Oct. 12, 1999, 1 page.
“Using Windows NT Diagnostics to View System Configuration Data”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S8465.HTM on Oct. 12, 1999, 1 page.
“Working in the Registry Editor Windows”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S8464.HTM on Oct. 12, 1999, 1 page.
“Solving Users' Environment Problems with the Registry”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S848B.HTM on Oct. 12, 1999, 2 pages.
“Registry Editor and Registry Administration”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinntS8461.HTM on Oct. 12, 1999, 1 page.
“Hives and Files”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S843F.HTM on Oct. 12, 1999, 4 pages.
“Value Entries in the Registry Keys”, Downloaded from http://msdn.microsoft.com/library/winresource/dnwinnt/S843E.HTM on Oct. 12, 1999, 3 pages.
“The Registry Hierarchy”, Downloaded
Blakely , Sokoloff, Taylor & Zafman LLP
Courtenay III St. John
LandOfFree
Providing command files with access to data stores that are... does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Providing command files with access to data stores that are..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Providing command files with access to data stores that are... will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-3249124