xvszero Posted June 5, 2008 Report Share Posted June 5, 2008 Does anyone know how I can grab my computer's ip address and use it as a variable? It's a long story but we have a few networks and the bat will be executing different commands based on which network any given workstation is on at the moment. So I need to be able to grab the ip and use that in my program.I'm pretty new to command line programming in general, I'm mostly a web programmer, so have patience if I ask stupid questions. Quote Link to comment Share on other sites More sharing options...
Hb_Kai Posted June 6, 2008 Report Share Posted June 6, 2008 What OS you on?Try looking at this site. Haven't got enough time to read through it but it might help.http://techrepublic.com.com/5208-6230-0.ht...threadID=264039 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.