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 Rhinorhino 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
  • Content: Threads
  • 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

    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...
  3. 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.
  4. 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.
  5. 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
  6. 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...
  7. 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
  8. 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...
  9. 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...
  10. lpb71

    INPUTBOX only accept numeric characters

    How can I get my script below to only accept numeric input? do branchid = InputBox("Enter Branch Number (with leading 0s)") if len(branchid)=3 and (branchid) then exit do msgbox "Branch id needs to be 3 numbers with leading 0', please re-enter branchid" loop 'Request Confirmation ysno =...
  11. lpb71

    objDocument.WriteLN Option

    My script below looks a a file and displays the size ad it is increasing. However on the iexplorer page it is scrollong up the screen and making it dissicult to see the file size changing. see example below Replicating Data to USB Device. Please Wait.... File Size so far =11526144 bytes...
  12. lpb71

    Display File Size then Quit

    My script below is part of a script that exports files into one compressed file. I want my script below to check the file size and when it has not increased for 3 consecutive checks to report that the build is complete. I have managed to get it to report the file size, but I need it to keep...
  13. lpb71

    Log Files

    How can I get my script below to write to a log file so I can look what it is doing. I have tried using the > redirect at the end of my sh.run line, but this doesnt seem to work. ' Script to replicate data server to external usb device ' ' Capture branch number do branchid = InputBox("Enter...
  14. lpb71

    Command to rsync multiple folders

    Can anyone give me a command that will rsync multiple folders and run them Simultaneously in the back ground. in my temp folder I have folders branch1-branch160 if I try to rsync all these folders my machine crashes. I would like a script/command that allows me to sync branch1 to branch10 so I...
  15. lpb71

    Script to copy folders

    I have a folder named branch1 containing 3 subfilders, Does anyone have a script that I could use to copy this folder and its subfolders 160 times naming each copied folder branch2, branch2..etc. Thanks.
  16. lpb71

    Script error when launching apps

    I have created a simple script below to launch an application with a delay. 'On Error Resume Next Dim wshell Set wshell = wscript.createObject("wscript.shell") wscript.sleep 1000 call wshell.Exec ("C:\PowerTerm WebConnect 5.5\tstpwc01 PtRdp.exe tstpwc01 /user=*xxxx /noselfupdate /NO_C2S_DLG")...
  17. lpb71

    Login Script - Variable is undefined

    I'm trying to create a login script to Map a drive if a users is a member of a group "My_Docs". Im getting "Variable is undefined: 'IsMember'". Need some help please. Script below:. Option Explicit 'On Error Resume Next Dim objNetwork, strUserName, strGroup, shell, strPersonal Set objNetwork...
  18. lpb71

    Create a disk partition

    I want to create a vbs script to create a D:\ partition on a Windows 2003 for use with ADS. Any help would be greatly appreciated.
  19. lpb71

    Generate random number and pipe out to a file

    I need help creating part of my script. I want it to generate a random number between 245 and 254 then pipe this mumber into a string value Any help would be greatly appreciated.
  20. lpb71

    How do I add a static route on netbuilder router

    I need to add a static route of 192.168.x.x/24 to go to 172.16.x.x. As I have no 3com experience I would like to know the full sequence of commands to do this. Thanks.

Part and Inventory Search

Back
Top