Discussion Locked

Program with ASP for get Computer Name

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I want to get Computer name in windows2000 with ASP.
I mean , in my program I want get client Computer Name and sent Message Welcome User.
I want do it in Internet (not Interanet)
How can I Do?

3 replies

by anurag

A tiny code that displays computername and other info too -

<%
strText = ""

Set WSHShell = Server.CreateObject("WScript.Shell")

For Each strEnv In WshShell.Environment("PROCESS")
strText = strText & VbCrlf & " " & strEnv & vbCRLF
response.write (strText & "
")
Next

%>

This discussion is closed to new replies.