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

Recent content by lpb71

  1. lpb71

    Count to see if file contents have changed

    I have a script that checks the content of a file(text.txt) every 30 minutes, the contents of this file (8 digit random number) should change every 30 minutes. The script checks the contents against the last check and alerts if the content is the same. Rather than send an alert each time is...
  2. lpb71

    Edit Text file

    Yep, thats done it - many thanks for your help.
  3. lpb71

    Edit Text file

    I am trying to write a script that reads a txt file, searches for branch=xxx (xxx= any 3 digit number) and replaces the line with branch=yyy) yyy=input variable. the script below appends yyy onto xxx rather than replace - any ideas. Test.123 is a text file that contains the text BRANCH=123...
  4. lpb71

    VBSCRIPT to capture DHCP and change to static

    Does anyone have a script that can read the DHCP info from a PC and change to be a static address. I am trying to remove DHCP from certain sites and want to make the visit as easy as possible.
  5. lpb71

    Test download speed

    My users can't access the internet, I wanted an app that could sit internally on one of our web servers
  6. lpb71

    Test download speed

    Hi I need to test the download speed we are getting between two systems. We have some sites that are complaining about poor performance. I need a web page that can run from one of our web servers that will time the upload/download speed they are getting. Any Ideas where I can get such a page.
  7. lpb71

    Edit date output

    Just what I needed. Many thanks
  8. lpb71

    Edit date output

    How can I get a vb script to output the date and time into a ccyymmddhhmm format to a variable? Thanks
  9. lpb71

    Check to see if file exists

    Typo, didn't notice that - many thanks.
  10. lpb71

    Check to see if file exists

    I need my script to quit after it writes to the log file, otherwise it will find the 2nd file and write that 2 files exist. The script should only quit if it meets the if statement. Shouldn't it?
  11. lpb71

    include char for strings

    see link below http://yorktown.cbe.wwu.edu/sandvig/docs/ASCIICodes.aspx
  12. lpb71

    Check to see if file exists

    Below is a snippet of my vbscript that check to see if a file(s) exists via a variable and writes to a log file if the file(s) exists. If I enter the parameters as per the labels below in the fso line, it works fine, however if I enter them as below is does not seem to pickup from the labels...
  13. lpb71

    IS Function

    Thanks Guys, My OP will always be 1, could not get the Function to work, kept saying missing ")" on the public function line. Used instr which works fine. Thanks again Guys.
  14. lpb71

    IS Function

    What is the IsNumeric equivalent to my command below to check that a character a-z has been entered. if len(branchid)=3 and IsNumeric(branchid) then exit do Thanks
  15. lpb71

    Loop until process is complete

    I also need an explorer screen to run alongside the cmd process. Is this possible?

Part and Inventory Search

Back
Top