The information in this article applies to:
SUMMARYWindows 98 includes the RunOnceEx and RunEx registry keys for additional functionality. The syntax and format used for these keys is different the RunOnce and Run keys. This article describes the correct syntax to use the RunOnceEx and RunEx keys and the various settings that can be used. MORE INFORMATIONWARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk. Sample SyntaxNote that text in braces ({}) are strings generated by the user.The following keys are located in the Local_Machine and/or Current_User hive(s). SOFTWARE\Microsoft\Windows\CurrentVersion\RunEx -or- SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx Flags = 0x0000000 Definition of Values and SubkeysName: FlagsValue Type: DWORD Value Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\ Description: Contains setting to enable or disable certain functions of the RunEx or RunOnceEx key.
These values are additive. ExampleIf you want to create an error log and have no status dialog box, you would set Flags = 0x00000090(0x0000010 + 0x00000080 = 0x00000090) Name: Title Value Type: STRING Value Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx Description: This value fills in the Status Dialog Box Title Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Depend Description: Contains values that point to DLLs that should be kept loaded in memory while all sections of RunOnceEx are being run. Name: {PlaceHolder1} Value Type: String Value Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Depend Description: Contains a DLL or OCX file name with or without the path to the file. The text "{PlaceHolder1}" can be any valid registry value name. Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\{SectionPlaceHolder1}\ Description: Contains entries to be run. Sections are run in alphabetical order. The text "{SectionPlaceHolder1}" can be any valid registry key name. Name: Default Value Type: STRING Value Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\{SectionPlaceHolder1}\ Description: The text "{SectionName1}" can be any valid registry value name. Name: {Entry1} Value Type: STRING Value Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\{SectionPlaceHolder1}\ Description: The text "{Entry1}" can be any valid registry value name. This value contains the string that is actually run. Format: "<DllFileName>|<FunctionName>|<CommandLineArguements>" Example: "Line1" = "||my.exe -quiet -url http://www.microsoft.com/" "Line2" = "shdocvw.dll|DllRegisterServer" Line1 runes the command line "my.exe -quiet -url http://www.microsoft.com/" and Line2 runs the DllRegisterServer function in Shdocvw.dll. Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\{SectionPlaceHolder1}\Depend Description: Contains values that point to DLLs that should be kept loaded in memory while only this particular section of RunOnceEx is being run. Additional query words:
Keywords : kbenv win98 |
Last Reviewed: June 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |