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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pivich

    "There is no data corresponding to this query. Query 1" in WebI XI

    2 questions: 1. When running a report in WebI XI rel 2 that brings back no records I get the following error message: "There is no data corresponding to this query. Query 1" Is there any way to suppress this popup so that I can put in a default message in the report itself? 2. Also, I...
  2. pivich

    Solaris vs RedHat

    I'd like to know your opinion on this topic. What do you think are the strengths of Solaris over RedHat? What are Solaris' weaknesses? Thank you!
  3. pivich

    Problem with Master Pages

    I have 4 different layout parts on the master page that I pass on to the content pages. They are Top menu, left menu, right menu and body(in the middle). Content placeholder are all placed inside table cells. And all parts are separate cells. On the master page the top of the right menu, left...
  4. pivich

    Corrupted Hard Drive

    Yesterday, my computer froze. So I pressed restart button. After reboot computer couldn't boot windows. It would just show me the starting picture of windows on the black background with the moving blue progress bar. Nothing would happen after that. Bios works fine and it shows my hard drive and...
  5. pivich

    How to go back a line

    Hi! How can you go back a line, when you are reading a textfile. I know there is a function to skip the line, but I haven't found a way to go back the line. I need that because when script looks for certain expression in the text file and finds that expression, I need to record that line. But...
  6. pivich

    Going through multiple files in the folder and retrieving information

    Hey! I'm trying to write it without the regular exp. But I have a couple problems: Set objFolder = objFSO.GetFolder(strDirName) Set colFiles = objFolder.Files 'returns files in the folder For Each File in colFiles Set objFile2 = objFSO.OpenTextFile(File.Path...
  7. pivich

    Going through multiple files in the folder and retrieving information

    Thanks dm4ever! I tried your script. And due to my lack of knowledge in vbscript and especially regular expressions I can't make your script to work. It keeps giving me error on 19th line. " RegExpMatch = RegEx.Execute(strTxt)(0).SubMatches(0) " What can be a possible error? Thank you!
  8. pivich

    Going through multiple files in the folder and retrieving information

    Sure! How the file looks like: ***************************** radomtext radomtext radomtext radomtext ! text version 11 fefhe#sh run <- first mentioning of the run random text t random text end <- end doesn’t count here random text end <- end alone on the line, counts. Script can...
  9. pivich

    Going through multiple files in the folder and retrieving information

    Thanks PHV! Excellent code dm4ever! I can't figure out how to use it for multiple words. I'm actually looking for certain expressions after specific commands. The .txt files are switch outputs. I need to check if the commands worked in all of them. So I need a script that looks for commands...
  10. pivich

    Going through multiple files in the folder and retrieving information

    I've wrote the script that writes on the files. But the whole concept of going through the files in one folder is quite confusing for me and searching the web didin't bring any specific answers. I've tried to modify the script that displays the name of the files in the folder to actually open...
  11. pivich

    Going through multiple files in the folder and retrieving information

    Good day! I'd really appreciate help from someone who is more experienced than I am. Problem: - I have around 500 .txt files in one folder. I need to write the script to open each file. Then go through the text and look for specific words. For example if it has "test" or "password" in it. If...

Part and Inventory Search

Back
Top