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