Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Workstation's IP Address
Message
De
03/07/2001 13:51:42
 
 
À
03/07/2001 11:31:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00526200
Message ID:
00526412
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform