I am using Windows Scripting Host to build a multi-platform virus update utility. Some of the computers it will be used on are Windows 98 and I need to check and see if the user is logged on or hit 'cancel' when prompted for username/password.
I am using the wscript.network.username property to determine if the username is null, but it errors no matter what on Windows 98. Does anyone know of any way to determine if a win98 user is logged on without crashing the WSH? By the way, I am using Javascript for this.
Any help would be much appreciated!
I am using the wscript.network.username property to determine if the username is null, but it errors no matter what on Windows 98. Does anyone know of any way to determine if a win98 user is logged on without crashing the WSH? By the way, I am using Javascript for this.
Any help would be much appreciated!