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 bkrike 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: alfie002
  • Content: Threads
  • Order by date
  1. alfie002

    Windows Event Log - Security Log

    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...
  2. alfie002

    End of Line pattern match

    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...
  3. alfie002

    Regular Expressions - Inserting space character into text string.

    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...
  4. alfie002

    POP3 to Mbox conversion

    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...
  5. alfie002

    IGMP - MutliCast Support W2K8 Enterprise

    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...
  6. alfie002

    Windows 2003 Server - CMD file syntax

    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...
  7. alfie002

    WQL - Select /Where structure

    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...
  8. alfie002

    Data Summarisation

    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...
  9. alfie002

    Oracle 91 Percentage_cont

    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...
  10. alfie002

    exporting duplicate column data

    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...
  11. alfie002

    Oracle data block corrupted

    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
  12. alfie002

    ORA-01092 ORA-30012

    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...
  13. alfie002

    VBS return code

    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
  14. alfie002

    WSH - VBscript - Length function

    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 ...
  15. alfie002

    ksh integer variable assignment

    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...
  16. alfie002

    regular expression of date format

    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 !=~...
  17. alfie002

    RegEx - extracting data

    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...
  18. alfie002

    Searching Directory hierarchy

    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...
  19. alfie002

    Tcl/Tk developement

    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
  20. alfie002

    Capture Information

    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...

Part and Inventory Search

Back
Top