Files & Directories

Articles about working with files and the file system.
Desktop Development » Files & Directories


Articles related to working with system directories.

Ensuring a Path Exists
Creating a single directory is easy: Just call CreateDirectory(). However, creating a multilevel directory when the parent directories may or may not exist requires a bit more work.
By Jonathan Wood on Saturday, December 4, 2010

File Formats
Articles that discuss working with various file formats.

Reading and Writing CSV Files in C#
An easy way to share data with programs like Microsof Excel is to read and write Comma-Separated Values (CSV) files.
By Jonathan Wood on Tuesday, March 26, 2013

Reading and Writing CSV Files in MFC
Here's a handy class for working with comma-separated values (CSV) files.
By Jonathan Wood on Friday, December 17, 2010

General articles about working with files on the desktop.

A Convenient LogFile Class
Here's a convenient little class for logging program events to a LOG file.
By Jonathan Wood on Tuesday, December 21, 2010

Displaying File Sizes
Here's the routine I use to display file sizes similar to the way Windows Explorer does.
By Jonathan Wood on Monday, January 17, 2011