
February 25th, 2009, 10:29 AM
|
 |
SץsAםмιи & Wяιτєя
|
|
Join Date: Sep 2004
Location: Romania - Târgu Mureş - the one and only
|
|
ipconfig /all > computer.txt
This command outputs everything to the specified text file. Nothing will appear on the screen/console.
Using WSH you can find lots of other details about the system very easily. Here's an example:
vbs Code:
Original
- vbs Code |
|
|
|
Set WshNetwork = WScript.CreateObject("WScript.Network")
WScript.Echo "Domain = " & WshNetwork.UserDomain
WScript.Echo "Computer Name = " & WshNetwork.ComputerName
WScript.Echo "User Name = " & WshNetwork.UserName
__________________
“Greatness, combined with the hint of a 24-carat lifestyle, is within us striving to make it through, craving for attention,
and in the end, recognition, leaving a record worthy of biography on forging success stories.” —ME
Check out MadHyeNa's Article Index. Visit PrimeRanks - We Rank You Into Pole-Position!
I succeed, conquer, and achieve, therefore I am.™
Last edited by madhyena : February 25th, 2009 at 10:34 AM.
|