thread877-1012224
Hi,
This is to reference the above older thread. I am running Tomcat 5.0.27 and everytime the Tomcat service is stopped and restarted, it overwrites the stdout.log. I want to be able to keep a history of all the logs, and not have it overwritten everytime the service is...
Hi,
I'm trying to write this script that would delete all folders that begin with caa if the folders are older than 14 days. The script runs, but the folders are not deleted, even if they are older than 14 days. I want to be able to delete all files and subfolders within the caa* folder, as...
Hi,
I have this script that parses through client folders, and copies all files in a designated folder for each client. What I want to do now is to take it one step further and copy all files beneath all subfolders that the client may create. So one client may log in and create a folder and 3...
Hi,
I am a beginning Linux user trying to copy files between two ESX 2.5.3 machines running Linux. Is there a method to copy files that have a bunch of spaces in between?
source:/vmfs/esx1/file that lives here.vmdk
destination: vmfs/archive
scp root@destination:/vmfs/esx1/???.vmdk...
hi,
i currently have a setup of 5 sites. all sites connect back to the main site via 3des ipsec vpn. all sites are running dsl, and all sites have the 503b pix router. now, i am planning to purchase 2 routers to a get a point to point connection between the two main sites. My question is...
hello,
i have this simple script:
Dim fso
Dim path
Dim oFolder
Dim oSubFolder
Const OverwriteExisting = True
Set fso = createobject("Scripting.FileSystemObject")
File = "c:\test.txt"
Path = "c:\temp"
Set oFolder = fso.GetFolder(Path)
Set colSubfolders = oFolder.Subfolders
For Each...
Hello everyone,
I have a logfile that is updated every 5 minutes. What I'd like to do is have a vbscript monitor this file and if the last date modified is greater than 30 minutes from the current time, send an email to me.
Thanks!
Moogeboo
Hi,
Am fairly new to vbscript, and was wondering what is the best way to do the following: Parse a log file that essentially is divided among sections. Each section has data that needs to be sent to an email address in that particular section. Here is the format of the data file which...
hi,
i have a vb script that copies files in a directory if it detects any files in that directory. This runs every 5 minutes, and it logs when it runs. Now, for debugging purposes, i'd like to be able to specifically log the individual files that it copies and write the filenames of the...
hi,
i'm trying to write a script that monitors a specific directory under a parent folder.i.e, have a users folder, underneath the users folder i'll have user1, user2, user3, etc..and within each of these user folders i'll have folders called in and out. Now, what i'd like to do is monitor...
Hello all,
I have a text file that basically contains one line that reads, as an example:
adduser -u jsmith -n "xxxxxxxxx"
now, what i'd like to do is to be able to make a directory name called jsmith, or whatever username that the text file will contain (as designated after the...
hi,
i have this script to take input from a user:
dim fso, wshshl, fil,oShell, strExec, fullname
dim txtFile
set wshshl = wscript.createobject("wscript.shell")
set fso = createobject("Scripting.FileSystemObject")
set oShell=Wscript.CreateObject("Wscript.Shell")...
hello,
i have a process which downlods 5 files at once every morning in the format of:
abc.010104.txt
abc.010204.txt
abc.010304.txt
abc.010404.txt
abc.010504.txt
the format is: abc.(date).txt
the only thing that changes on the files are the dates.
as you know, the download stamps these files...
hi,
i'm pretty new to vb scripting, and i wanted to write a script that seems pretty simple, but am unsure as to how to proceed. what i want to do is:
check to see if a certain file exist (c:\program files\file.txt)
replace it with an updated file @ (H:\newfiles\updatedfile.txt)
that's all...
Hi,
i inherited a client's router environment, and on a cisco 806 router, i'm trying to prevent ports 135-139 on the exchange 2000 server ...however, it doesn't work! can anyone tell me why? thanks!
joe
here's the config:
version 12.2
no service pad
service timestamps debug uptime...
I'm running into a weird problem....I can't seem to add domain users to my win2k pro workstation local administrator group (so that they can install their own apps). When I go to Computer Management, Users and Groups, and to the Administrators local group and attempt to add, the drop down box...
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.