To extract (unzip) a password protected zip file using the Ionic DotNetZip Library, you can use the snippet below. Samples [tab name=”C# Sample”] string zipFile = @"C:\Users\Fesslersoft\Desktop\ZipTest\Test.zip"; string targetDirectory =…
To get the current Database and Log Filesize using MSSQL you can use the snippet below. Tested using SQL Server 2012. Sample MSSQL Sample Output
to delete .svn files and folders using Windows Batch Script you can use the following snippet. Sample Windows Batch Script Replace C:\Users\CodeSnippets.Fesslersoft.de\Documents\Visual Studio 2013\Projects\ConsoleApplication with your Solution’s Path.
To get the path of the active app.config file in C# and VB.NET you can use the following snippet Sample C# Sample VB.NET
To Remove Illegal Filename Characters in C# and VB.NET you can use the following snippet. Sample C# Sample VB.NET
To get the executable filename in C# and VB.NET you can use one the following methods. Sample C# Sample VB.NET