It was a dark and stormy night when "YK said:
bassbag wrote:
As I have not used Win98SE for 3 years my recollection of this old
venerable operating system may be fuzzy but I believe that you
have to boot to that wonderfull thing called MS-DOS and run the
run.bat. There is no concept of RunOnce in Win98SE as it only
became available in WinME and the WinNT/2K/XP varients.
RunOnce is supported in Win9x, this is just a fragment from MSDN:
<Quote>
Run and RunOnce Registry Keys
Run and RunOnce registry keys cause programs to run each time that a
user logs on. The data value for a key is a command line. Register
programs to run by adding entries of the form description-
string=commandline. You can write multiple entries under a key. If
more than one program is registered under any particular key, the
order in which those programs run is indeterminate.
Windows NT 4.0, Windows 2000, Windows XP and Windows Server 2003
family registry includes the following four keys:
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
* HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
* HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
Windows 95/98/ME registry includes the following seven keys:
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
* HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
* HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
* HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup
By default, the value of a RunOnce key is deleted before the command
line is run. You can prefix a RunOnce value name with an exclamation
point (!) to defer deletion of the value until after the command
runs. Without the exclamation point prefix, if the RunOnce operation
fails the associated program will not be asked to run the next time
you start the computer.
By default, these keys are ignored when the computer is started in
Safe Mode. Starting with Windows NT 4.0 SP3, the value name of
RunOnce keys can be prefixed with an asterisk (*) to force the
program to run even in Safe mode.
</Quote>
More information:
<
http://msdn.microsoft.com/library/en-us/setupapi/setup/run_and_runonce_registry_keys.asp>
Regards