Dear Forum Users,
I have searched through the forum posts and did not find a close match to my search, hence my forum post.
I want to be able to write to the Security Log within the Windows Event log(s). From previous reading I don't believe it is possible using the WSH or the WMI interfaces...
Dear all,
I am working to locate the a pattern match at the end of a line. I have included the code that I use for the pattern match. Using one file, the pattern is matched and located. Using another file the pattern is not matched for some reason. Both files are Windows text files.
The...
Dear all, I should be able to sort this one out but I cannot see it at the moment. I have a string such as;
1234->5678
I want to be able to insert a white space before and after the arrowhead as follows;
1234 -> 5678
I would appreciate it if...
Dear all,
I currently have a Linux server, Redhat. I have a pop3 account (ISP) containing various folders and sub-folders which contain emails. I would like to download a copy of the pop3 email to the Linux server and store them in a mbox format. Ideally I would like to map the current folder...
Dear all, I am currently working with an installation of Windows Server 2008. I am using a multicast application that will use the IGMP protocol to publish it's services. I won't go into detail on this. However, I would like to know if anyone has successfully used Multicast (IGMP) with the W2K8...
Dear all,
Before I post a question I want to make sure that I am posting in the right forum. My question is syntax related to cmd files that are running on a Windows 2003 server. Can someone confirm if this is the right forum, alternatively suggest another one as I haven't spotted one devoted...
Dear all,
I have the following piece of code which is to select the Name from the Win_Directory where the corresponding Path has a specific value.
The line in question is
Set colItems=objWMIService.ExecQuery("Select Name from Win32_Directory where Path = 'c:\utilities'")
The query runs...
Dear all,
I have started working in more detail with Oracle and would like some pointers on data summarisation. I have two tables, a rate based table that holds hourly data. The second table is to hold the summarised data. In the rate table there are many entries for multiple sources. Each...
Dear all,
I have a need to create the 20/80% percentiles from data contained within a database. I have just started this and think it will work for me. The data that the table contains is a device_name, period, responsetime. The table holds 60 days worth of data. I need to be able to calculate...
Hello all,
I need to export data from a MS SQL server. I am using the export wizard to do so. However,I need to export mutliple instances of the same columns. EG
datetime, ps, recnum, customer, ps, count, probe, count
Using the standard query builder I am not able to select mulitple like...
Dear all,
ORA-01578
This post is just for general advice, particularly if some has experienced this error message. I have read through a number of articles on this issue and before I start dealing with it any advice or tips would be appreciated.
Thanks
Alf
Dear all,
I am experiencing a problem restarting an Oracle 9.2.0.6 database after a power failure.
When I try to start the DB uwing the Oracle Enterprise Manager front end it reports a
ORA-01092
and then drops the connection.
I have checked the alert.log and it reports a problem as...
Dear all,
I have a script to individually copy a series of files from one location to another. I want to be able to check the return code of the copy command in order to write a successful copy message to a log file.
Does anyone have an example of this ?
Thanks
Alf
Dear all,
I want to return the file extension of a give file. I am having a problem with it
Sample code as follows;
extension = lcase(substr(file_name,(len(file_name-3)),(len(file_name)) ))
This syntax should work, but I cannot remember if I should be using the "len" or "length" function ...
Dear all,
I have got a bit of a mind block at the moment. Can anyone tell me why this KSH code isn't working ?
if [ ${CurrentBackup} == 0]; then
PreviousBackup = (10 - (${CurrentNumber} - 1))
else
PreviousBackup = (${CurrentNumber -1 )
fi
All the variables fines, I get an error message...
Dear all,
I have a date format of
Tue Jun 19 10:28:17 2007
I need to be able to spot this format as a date in a variable read from a file.
I have tried with the following code, unfortunately it is not working.
Any help much appreciated.
Alf
if ( $diff_output !=~...
Dear all,
I need to be able to extract data from a variable. An example variable is shown
/opt/asdfgwdq/dasdasd/Data_to_be_extracted_is here
The data that I need to be extracted should be from the right most character (alpha-numeric) to the last letter (alpha-numeric) before the last forward...
Dear all,
I want to be able to navigate a top level directory and for each directory found within this top level directory, a further search would be undertaken, including searching all sub-directories where they exist, until arriving at the "bottom" directory.
Has anyone code any idea or...
Dear all,
when you are developing Tcl/Tk applications, how do you do it?
1. Text based coding
2. Integrated development environment - can anyone recommend an IDE for Tcl/Tk ?
3. Other ?
Thanks
Alf
Hello All,
I am fairly new to the HTML world. I have a general question rather than a technical. I want to capture information from the user, via the keyboard, and write this information to a file on disk. Also, I would like to be able to read the information from the file on disk and display...
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.