mad_dog369 Posted November 30, 2006 Share Posted November 30, 2006 ok so i have found this simple batch file that gets information about the ip addresess from the local pc and saves it as a .txt file where ever you want. anyway i tried adding to it but when i run it the .txt files are just empty there is nothing in it.this is the scriptipconfig/all > c:\ip.txtc:>net view/all > c:\net.txtc:>net localgroup/all > c:\local.txtso the first line of code works fine but the other 2 lines just leave the .txt file empty, i have tried it with and without the c:>please help me i really want this to work. Link to comment Share on other sites More sharing options...
SilverBulletUK Posted November 30, 2006 Share Posted November 30, 2006 (edited) @Echo Offipconfig/all>>c:\ip.txtnet view/all>>c:\net.txtnet localgroup/all>>c:\local.txtExitThis should work, you were nearly there though!! [EDIT] Sorry, I just notcied your error. Net View & Net Localgroup do NOT support the /ALL switch.What exactly are you trying to do?SilverB. Edited November 30, 2006 by SilverBulletUK Link to comment Share on other sites More sharing options...
mad_dog369 Posted November 30, 2006 Author Share Posted November 30, 2006 oh my friend wanted some info from the school pc ( dnt have a clu why?) anyway he asked me if there was anyway to do it. Link to comment Share on other sites More sharing options...
mad_dog369 Posted December 1, 2006 Author Share Posted December 1, 2006 Do you know of any other way i can do this, my friend has been bugging me all day about it lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now