Tools to include in Batch files to send e-Mail, hash files and strings, replace InfoPath form URNs or update your AssemblyInfo with the SVN revision number.
CommandLine Send Mail
cmdsendmail is a tool that allows to send e-Mail from your Command Line. It reads it’s settings from an Xml file, which means you can easily use it in a Batch File. For example, include it in your Backup scripts (or any other scheduled task) and have the script
send an e-Mail to you whenever the backup task is finished, with the neccessary Logfiles attached.
CommandLine .net SVN Revision Replace
cmdnetsvnrev is a tool that replaces the AssemblyVersion and AssemblyFileVersion to include the SVN Revision Number.
It only changes the last Octet by default. For Example, if your AssemblyVersion is 22.214.171.124 and your SVN Repository is Revision 14, it will change your AssemblyVersion to 126.96.36.199. The same applies to AssemblyFileVersion.
This makes it a very useful tool for automated build scripts.
CommandLine Hash Generator
cmdhashgen is a Command Line Utility that can be used to generate various hashes for a given String or File.
Supported Hashes are CRC32, MD5, SHA-1, SHA-256, SHA-384 and SHA-512.
CommandLine InfoPath 2007 URN Changer
This tool allows changing the DateTime part of an URN in InfoPath Form 2007 Templates.
These tools are based on Microsoft’s .net Framework 2.0, which can be downloaded either on Windows Update or
. Note that Windows Vista, Windows 7 and Windows Server 2008 already include this Framework.