Solved

VBScript to search a text file

Posted on 2011-09-28
3
322 Views
Last Modified: 2012-05-12
I'm looking for a VBScript that I can use to search all of my domain computers for a certain text-based file. If that file exists, I'll need for the script to read the text file, search for a specific line, and then output the contents of that specific line to a new text file. Does anyone have such a script that I could modify for my purposes? Thanks.
0
Comment
Question by:mcpp661
  • 2
3 Comments
 
LVL 12

Expert Comment

by:prashanthd
ID: 36719242
Search is very resource intense, would you know the filepath?

Can you give full specifications with sample data, file name etc..
0
 

Accepted Solution

by:
mcpp661 earned 0 total points
ID: 36752508
I already found a file that I modified to my own needs. Thanks anyhow for the response.
0
 

Author Closing Comment

by:mcpp661
ID: 36902310
I found my own solution.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now