Solved

VBScript to search a text file

Posted on 2011-09-28
3
335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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