Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Workstation's IP Address
Message
From
03/07/2001 13:51:42
 
 
To
03/07/2001 11:31:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00526200
Message ID:
00526412
Views:
14
Kevin

based on Bobs suggestion

if file("ip.txt")
erase ip.txt
endif
run "/n winipcfg /batch c:ip.txt"
m_file=filetostr("c:ip.txt")
m_start = at("IP Address",m_file)+29
m_ip = substr(m_file,m_start,16)
wait window m_ip
erase ip.txt

Use the /n switch to suppress the dos window. This is winipcfg as its not NT.

Nick Mason
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform