|
|
|||||||
I have a script that pings all the servers on my network and writes that output to a file upon login for Admins: If RedirectOutput("ping.log") = 0 Then emails that file to the group. I want to overwrite that file on every login and/or delete that file after login. Any ideas? |
||||||||
|
|
|||||||
Dear, Use following code Code:
We suggest to use something like %tmp%\ as prefix for the filename 'ping.log'. greetings. |
||||||||
|
|
|||||||
You're going to have to post more than one line of code for us to understand what you are doing. My crystal ball is in the shop. |
||||||||
|
|
|||||||
Here it is: Code:
Then I want to mail the file using blat (works sometimes) and then delete the file after being mailed. Hope that helps! |
||||||||
|
|
|||||||
Guess MCA's crystal ball is working just fine. Maybe in the future I will try to have a seance with him before posting. |