Here is a good tip I received in the IIS newgroups managing log files. Thanks ‘Tomek’ for passing this along.
1) Create – BAT-File (in the same Path like forfiles.exe)
2) forfiles.exe – syntax
forfiles – pC:pathtolog-files – s -m*.* -d-60 -c”cmd /C del /q @FILE”
-m : defines the Filename and extension
-d : the age of the Files in days
-c : command to run (in our case – delete)
I attended a .NET user group in my area (GLUGnet) – http://www.glugnet.org and wanted to get involved. I accepted the GLUGnet Membership Director position. This is a volunteer position. Hopefully, I can do a good job making the user group better! I received lots of tips from various people thanks a lot..
Mark your calender, here is information about our next user group meeting! The evolution of the Web Application User Experience with Microsoft Atlas – Web 2.0 & AJAX are the buzzwords of the next generation of web development. This session will provide a look into Microsoft’s new Web Development technology “Atlas”. Atlas combines rich, cross browser client side libraries with ASP.NET’s popular server side development technology to offer an ideal developer’s toolbox for developing the next generation of Web Applications.
Speaker: – Joe Stagner (http://www.joeon.net/) is a Program Manager in Microsoft Corporation’s Developer Tools and Platform Group and has been with Microsoft since 2001 focusing on highly scalable and performant web application architectures, multiplatform interoperability and software security. Joe brings 30 years technical and business strategy experience to Microsoft which affords him a unique experiential perspective.
!!-Prizes: Dell 19inch LCD monitor, books, and other cool swag will be given out for our July meeting-!!
I attended two local user groups this week. West Michigan .NET user group (http://www.grdotnet.org) and GLUG – Greater Lansing user group (http://www.glugnet.org/ ). It has been a while since I attended a user group meeting but this is a real jewel to network with people who are “geeks” and learn too. I plan on helping as much as I can, I am not sure where to start. 🙂 If you have any tips or tricks in having a successful user group. Let me know either by replying here or contact me at firstname.lastname@example.org
I was trying to find an example that would display a “Friendly name” vs. an “email address” when generating emails using CDOSYS. Here is the code to do this.
Set imsg = Createobject(“cdo.message”)
.To = “John Monday <email@example.com>”
.From = “Steve Friday <firstname.lastname@example.org>”
.Subject = “A Subject Line: ” & Now()
.TextBody = “A Text body message”
Set imsg = nothing
Other links I found
This is a good article, example code how to protect your files using BASIC authentication in IIS7. This articles shows how to protect asp, html, aspx files. The code has been updated. http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=942 Enjoy and check out http://www.iis.net