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 Wanet Telecoms Ltd 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: rogsal
  • Content: Threads
  • Order by date
  1. rogsal

    VBScript in outlook 2000

    I want an automatic BCC in my mail and my problem is: How do I find out if the Item is of instance,MailItem (Can be CalendarItem also)? This is what I have so far: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim Tmp As MailItem If item <what to write here?>...
  2. rogsal

    ways to clean a file

    Hi! Normally when I want to delete everything in a file without deleting the file itself I do: # >filename However this doesnt work well when combinig it with rsh calls: # rsh loghost >/var/adm/logfile which will create a file on my local machine and then just hangs there... To make it even...
  3. rogsal

    Echoing the last argument ???

    Hi! I just run into a small problem.... My script takes som parameters and at the end a filename Is there a simple way to echo that last argument?? I tried different variations of echo "${$#}" but it doesn't work all help is useful... /Roger ps. my workaround is a loop with a shift statement...
  4. rogsal

    My script in a pipe???

    Hi all! I've written a script that greps for a string and outputs b lines before and a lines after. > fblock STRING -b 2 -a 2 FILE but now I would like to use it in a pipe like this: > unzip -c enormous_log.gz | fblock STRING -b 2 -y a How do I do that???

Part and Inventory Search

Back
Top