Hi folks,

On Win98 machines I use the following commands to instigate log-off, shutdown, restart from shortcuts...

Command line:

C:WINDOWSRUNDLL32 SHELL32.DLL,SHExitWindowsEx n

Where n is one of the following:

n=0 LOGOFF
n=1 SHUTDOWN
n=2 REBOOT
n=4 FORCE
n=8 POWEROFF
n=-1 RESTART EXPLORER

On Win95 machines the above don't work, so I use...

C:WINDOWSRUNDLL.EXE user.exe,exitwindowsexec
For RESTART Windows

and

C:WINDOWSRUNDLL32.EXE user,exitwindows
For SHUT DOWN Windows.

My question is:

Does anyone know a command line for WIN95 LOG-OFF???

Many thanks,

Ade