C#, DOS

Writing the output from console applications to text file

Note: this blog is no longer maintained. Please go here to see the latest updates of this post.

Console applications provide a quick and easy way (and also a little bit dirty) to test or fix parts of your application. It enables you to focus on the business logic rather than the GUI. Sometimes the output to the window is quite large – larger than the console window can show. In those cases you want to be able to persist the output to text files. In this post, I’ll show you how to do this.

Continue reading

Advertisements
CMD, DOS

Replacing file extensions from uppercase to lowercase

Note: this blog is no longer maintained. Please go here to see the latest updates of this post.

Here’s a very simple utility that recursively finds uppercase file extensions and makes those who are lowercase. For once, it’s not written in C# but in good old DOS.

Continue reading