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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by amacbean

  1. amacbean

    Setting Up User Variables from DOS cmd line

    Can anyone tell me how to create a User Variable from the command line? (Instead of GUI way using My Computer -> Properties -> Enviroment) I am writing a batch script that needs to set one up for the current user... Using SET only sets and enviremnt variable and is lost after the cmd window...
  2. amacbean

    Can the Application Close Button ("X") Be Disabled

    I have actually been getting memory read exceptions using Tonys method so may change it after all, cheers guys.
  3. amacbean

    Can the Application Close Button ("X") Be Disabled

    Thanks tony! (ireland) Thats exactly what I needed.
  4. amacbean

    Can the Application Close Button ("X") Be Disabled

    Need to stop the user exiting DB without getting some cleanup code executed. I have provided my own DB exit button to do this. Can the Application close button be disabled or can i catch the close event and execute the required code?
  5. amacbean

    Searching files for patterns

    Thanks but I have tried that. grep '<name>*</name>' file.txt - this does not work?? grep '<name>*' file.txt - this does!! Any ideas why?
  6. amacbean

    Searching files for patterns

    What is the best way to find all the occurances of a string pattern in a file? I need to find all occurances of the pattern: '<name>*</name>' where the * could be any string. Can this be done using grep?
  7. amacbean

    Sending Mail from Command Line

    What is the best way to send an email from the command line? I have had a look at sendmail but it seems you cannot specify the Subject from the command line??
  8. amacbean

    Remove Old Files

    Thanks for the help guys!
  9. amacbean

    Remove Old Files

    Can anyone advise me on the best method deleting files that are over a certain age? I am writing a script that needs to delete all files that are over 1 month old? Any help would be great!

Part and Inventory Search

Back
Top