Note : Even it's for 98/Me, the rundll32 command works under 95

from Ms KB : http://support.microsoft.com/support/kb/articles/Q234/2/16.ASP

You can use either of the following commands in a batch file to restart Windows 98/Me automatically:

runonce.exe -q
rundll32.exe shell32.dll,SHExitWindowsEx n

where n is one, or a combination of, the following numbers:
0 - LOGOFF
1 - SHUTDOWN
2 - REBOOT
4 - FORCE
8 - POWEROFF

The above options can be combined into one value to achieve different results. For example, to restart Windows forcefully, without querying any running programs, use the following command line:
rundll32.exe shell32.dll,SHExitWindowsEx 6
NOTE: Using the FORCE option can cause programs to lose data.

_________________________
? getobject(Kixtart.org.Signature)