Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

storeing information in memory.

Status
Not open for further replies.

saw164

Technical User
Jan 17, 2006
218
US

I am running a logon script that runs ipconfig and currently stores the information as a text file on the c drive of the computer, which is where i told it to be, and then deleted the file at the end of the script. However, my boss would like the information returned from the ipconfig to be held in memory, and not have it place a text file anywhere on the computer. If you can hold information in memory, could you then access the information to read it into an array?

thank you

scott
 
Have a look at the StdOut property of the WshScriptExec object.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thank you for you reply, that pointed me into the right direction, and was able to figure it out. all i had to do was remove the c:\ from the text file name. i was already running wscript. to query the information.

scott

Scott

"Global Warming is caused by the sun" - Anonymous

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top