Need a Bat file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Posts: 1
Joined: 25 Feb 2009 10:17

Need a Bat file

#1 Post by krumthi » 25 Feb 2009 10:20

Okay, I am looking for some help. I would like to have a bat file that would take ipconfig /all and convert that to a text file for later so I don't have to keep going back to the differnt computers. I do not know if it is pssible to have the txt file save as the computer name.txt either.

I am quite new at bat programming but I know a little I would appericate all the help you can give me

Thanks in advance

Posts: 2
Joined: 23 Feb 2009 08:44

#2 Post by tempdude » 25 Feb 2009 11:21

Try this:

Code: Select all

@echo off
echo |ipconfig /all > file.txt

Posts: 6
Joined: 27 Jan 2009 10:56

#3 Post by _m » 25 Feb 2009 14:11

Code: Select all

@>File.txt IPCONFIG /ALL

Post Reply