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 strongm 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: *

  • Users: lpb71
  • Order by date
  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?
  16. lpb71

    Loop until process is complete

    I have a script that shells out to the command prompt to run a process called lrep_reader.exe. How get my script to loop until this process is complete then continue with the rest of my script. My script currently checks to see is a file is increasing, however some hardwasre can't keepup and...
  17. lpb71

    Loop until no more files exist

    My script below checks the status of a file creation and reports the size every few seconds. The file is named bxxxsr01.0, however my application creates a second and maybe third file if the file exceeds 2gb. I need to get my script to loop until all the bxxxxsr01.x have been reported on and...
  18. lpb71

    INPUTBOX only accept numeric characters

    I have come across an issue with my script. The program that creates my file will create a second file with .1 extension once the first file reaches 2gb. How can I get my script to look if the .1 file exists before exiting and if it does exist, I want it to add the two file sizes together...
  19. lpb71

    objDocument.WriteLN Option

    Which bit is wrong, Just cut and paste line from my script, which does write the line in an explorer screen. objDocument.WriteLn("<html></body>File Size so far =" & (objFile.Size) & " bytes <br>")
  20. lpb71

    INPUTBOX only accept numeric characters

    Worked - Thanks.

Part and Inventory Search

Back
Top