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 TouchToneTommy 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. spikeman24

    read text file and build array

    Hi PHV, I replaced the array code with your code, however I'm not sure what the srcipt is doing, it does not give any errors though Is there a way the I can echo the "site" strings to the screen to see what the completed command would look like? I tried using "msgbox site" however it did not...
  2. spikeman24

    read text file and build array

    I'm not very good with VBscript but this is what I've done thus far. I have a very basic understanding of VBscript so the more help I can get the better. Option Explicit Const ForReading = 1 Const Site_List = "C:\Sites.txt" Dim SourcePath,SourceFile,DestPath, String Dim fso, f Dim arrText()...
  3. spikeman24

    read text file and build array

    Hi Guys, I need some serious help in getting a VB script together that can: Part One open a text file (sites.txt) then read the file line by line excluding the 1st and last line. Then I want to store the values between the quotation marks in an array. Sites.txt...
  4. spikeman24

    How do I use an array to excuting command

    Thanks tsuji, Can you believe I was missing the second "&" after the elem. Thanks Once again,
  5. spikeman24

    How do I use an array to excuting command

    I apologise for not being clear in my first post, I was even confusing myself when I read the post again this morning. So let me try again hopefully I can do a better job this time round. The script runs locally, and the program it’s going to run is also local. However the program I want to...
  6. spikeman24

    How do I use an array to excuting command

    Hi Everyone, I need help with the array execution portion of this script, I left the different options I've tried so far commented. The line that has not been commented works but does not help me with my final goal. I would like to, if possible read the server names from the text file then...
  7. spikeman24

    Create Dynamic array from text file, then run command

    Hi I have a vbscript file that includes some functions and that generates a text file as seen below. The next step in my automation quest is to perform a secondary task/command/function of all URL’s containing http://teamX.qa.thebigtest.com/ Using the example below I would need to run the...

Part and Inventory Search

Back
Top