> I think under terminal services you have a CLIENTNAME environment variable that you don't have on a regular logon. Also, there is a SESSIONNAME that has "Console" when you're local, and "RDP-Tcp#9999" some number when you're Remote desktop.
Thank you Fred - that's exactly the information I was looking for! Malcolm _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

