Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: currently logged on
I am a lazy person: I want to support only one WB-program that works on Networked and StandAlone-PC's.
If Network then copy some Network-stuff else don't even try.
However I cannot find the function that gives me this information.
Any ideas?
You could try and read the network file...and try to suppress the error.
Maybe something like:
ErrorMode(@off) test=FileOpen("\\unc\share\dummy.txt","READ") ErrorMode(@cancel) if test!=0 then FileClose(test)Now if test==0 then the file was not accessable - Standalone mode.
Article ID: W14158
Filename: How do I see I'm logged on.txt
File Created: 1999:06:09:14:37:50
Last Updated: 1999:06:09:14:37:50