Yeah, that's what I'm looking for thanks. I still don't know how to put it in string to replace the 0.0.0.0 though.
Right now I have this
ipconfig | find "IPv4"
But it gives me my local area connection, my wireless connection, and my virtual box ip. I want it to replace the 0.0.0.0 with my wireless area connection. Sorry if i'm hard to understand i'm still new at this and i'm not really good at explaining.