Interesting approach. However, on my computer I seem
to have three adapters defined. Only one which has an
actual IP address. I should mention that we just
inherited this computerand I am in the process of
upgarding it from a sorely neglected Windows 95
version to Windows 98SE.
Jim Bentley
--- Bill Downall <[EMAIL PROTECTED]>
wrote:
> Frank,
>
> I don't thing there is a CVAL, or even an ENVVAL()
> that you can count
> on. However, you do do something like this:
>
> ZIP CMD.EXE /C IPCONFIG > configinfo.txt
>
> create temp table ConfigInfo (+
> IpConfigLabel TEXT (36), +
> IpAddress TEXT(15) +
> )
>
> LOAD CONFIGINFO FROM configinfo.txt AS FORMATTED
> USING +
> ipconfiglabel 9 43, +
> ipAddress 45 59
>
> SELECT ipaddress INTO vMyIP FROM configinfo +
> where ipconfiglabel LIKE 'IP Address%'
>
>
>
> Betaserver wrote:
> > I think I asked this before, but never did find
> out if it is possible. Is there a CVAL or GETVAL
> command that will return the IP address of the
> computer the user is on ? if not, can anyone think
> of a way I can get that into an RBase variable ?
> >
> > Thanks
> >
> > -- Frank Taylor, Systems Network Administrator
> > -- F.J. O'Hara Corp, Boston, MA
> > -- [EMAIL PROTECTED] - 617-790-3093
> >
> >
> >
>
>
Jim Bentley
American Celiac Society
[EMAIL PROTECTED]
tel: 1-504-737-3293
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com