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 gkittelson 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. WillieB101

    Need help parsing text in multiple locations

    Thank you Geates, the script now works like a charm. However, is there any way to identify which server the text is from. I tested with text files on 3 servers, 2 text files listed "process failed" and the other "successfully completed". Once the script was ran I did recieve an email with the 2...
  2. WillieB101

    Need help parsing text in multiple locations

    Made those changes but now I do no recieve an email nor an error message. Any idea what else I can try ? Code: Const ForReading = 1 Const TriStateUseDefault = -2 arrKeyWords = Array("Failed") arrServers = array("Server1", "server2", "Server3") strEmailFrom = "BackupAlert@mydomain.com"...
  3. WillieB101

    Need help parsing text in multiple locations

    Thanks for your prompt response. I get an error: line:29 Char:5 Error:Object doesn't support this property or method: 'objStream.AtEndOfFile' Code:800A01B6 Source: Microsoft VBScript runtime error Const ForReading = 1 Const TriStateUseDefault = -2 arrKeyWords = Array("Failed") arrServers =...
  4. WillieB101

    Need help parsing text in multiple locations

    I need some help parsing text files located in multiple locations. Example: \\server1\backup\mon\log.txt \\server2\backup\mon\log.txt \\server3\backup\mon\log.txt My goal is to setup a task that runs nightly to parse all log files in the Mon folder on each server and return any failed session...
  5. WillieB101

    Map printers based on workstation IP addresses.

    Thank you all for helping with this script. I finally got it run out errors.
  6. WillieB101

    Map printers based on workstation IP addresses.

    Geates, my goal is to ensure that the shared drives mapped at one site do not follow the machine to anoher. Laptop users will need to be mapped to their home folder (Z:Drive) regardless of the site they are visiting. If there is another way I can achive this goal, please let me know. I would...
  7. WillieB101

    Map printers based on workstation IP addresses.

    Thank you guys for all your help, it is much appriciated. I made the above changes and the code finally ran with no errors. I have done some modifications to to the script to also map a few shared folders. Can you help me with a code that I can place at the begining of the script that will...
  8. WillieB101

    Map printers based on workstation IP addresses.

    I thought that was it, I saw a cmd screen for a sec but still got the following error message: Line 20 Char: 1 Error: Subscript out of range: '[number: 2]' Code: 800A00009 What should I do next ? Code: __________________________________________________________________ 'execute an ipconfig to...
  9. WillieB101

    Map printers based on workstation IP addresses.

    I tried again and recieved the following error: Line 8 Char: 1 Error: object doesn't support ths property or method:'objExec.AtEndOfStream' Code: 800A01B6 Please help ! Code: __________________________________________________________________ 'execute an ipconfig to the local machine and store...
  10. WillieB101

    Map printers based on workstation IP addresses.

    Sorry it took this long to get back. Geates, I ran the code below and recieved this error message: Line 4 Char: 1 Error: object required: objshell Code: 800A01A8 Can you tell me what I need to do to resolve this. Code: __________________________________________________________________...
  11. WillieB101

    Map printers based on workstation IP addresses.

    Thank you guys. I will try the above code and post my results.
  12. WillieB101

    Map printers based on workstation IP addresses.

    I am looking for a VB Script that would map network printers to my laptop users IP addresses. Printers are located in 5 sites, each on a different subnet. Laptop user travel to each location a few times per week. I would like to use the Third octet in the IP address to determine which set of...

Part and Inventory Search

Back
Top