About quotes I know, i use them because 'find' only in that way can have arguments. I have tried also 'findstr', I shouldn't use there quotes, but then objScriptExec don't want to work properly.
Anyway, i tried to do it Your way and everything works great. Thanks :-)
Hello all,
I want to display in my script ONLY IP addresses of network cards. From command line I can achieve this running 'ipconfig | find "IP"'. Is it possible to achieve the same using WScript.Shell.Exec command in VBS?
When I trying to run something like this
et objShell = CreateObject(...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.