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...
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...
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.
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.
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?
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...
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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.