The following creats a shortcut to shut down Windows 98:
Launch the create shortcut wizard by right-clicking on the desktop and selecting the New/Shortcut command from the shortcut menu. Once the create shortcut wizard loads, type c:\windows\rundll.exe user.exe,exitwindows in the command line text box.
To continue, click Next. When the next page appears, type Shut Down Windows 98 NOW! in the Select a name for the Shortcut text box, and click finish. Now, when you're ready to shut down Windows 98, close all your applications as you normally would and then just double-click the new Shut Down Windows NOW! icon