how to output the tcp/ip setting to a txt file??

V

vocano

run vbscript as below:

Set objShell = CreateObject(¡°Wscript.Shell¡±)
objShell.Exec ¡°%COMSPEC% /k ipconfig > ipconfig_output.txt¡±

i want to output tcp/ip settings of all computers in the domain to the
specific files ,and also the name of txt file should be the name of
computer,how to do ?
 
P

Paul

Why not just run the following using a logon or start up script of some sort
that does this....

ipconfig > %computername%.txt

Or to place the files in one location

ipconfig > \\servername\sharename\%computername%.txt
 
V

vocano

wf1000xg said:
Why not just run the following using a logon or start up
script of some sort
that does this....

ipconfig > %computername%.txt

Or to place the files in one location

ipconfig > \servernamesharename%computername%.txt

good idea,thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top