B
Bob Woodward
I need to be able to identify which computer a program is
running on from within a database program. I can shell
out to a command prompt and capture output then parse the
response but the trick I seem to be having a hard time
with is I need to get the name without using DNS,
hence "ping localhost" won't work since DNS can be wrong.
Also, I need the solution to not require writing any kind
of additional program or script. I need a standard
command that comes with Win2k/WinXP/Win2k3.
TIA.
running on from within a database program. I can shell
out to a command prompt and capture output then parse the
response but the trick I seem to be having a hard time
with is I need to get the name without using DNS,
hence "ping localhost" won't work since DNS can be wrong.
Also, I need the solution to not require writing any kind
of additional program or script. I need a standard
command that comes with Win2k/WinXP/Win2k3.
TIA.