Click here to Skip to main content

Files and Folders

Great Reads

by Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
by Sven Wiegand
A class that enables you to easily retrieve a file's version information.
by Tolgahan ALBAYRAK
Read, Write, Save INI files without using Windows APIs.
by OriginalGriff
There is a common theme in development: storing data files in the application folder. This is bad, and wrong, and should be stamped on!

Latest Articles

by Michael N. Haephrati
How the Shopping List mechanism was used as part of the Target Eye project
by wilsone8
A complete wrapper for the Win32 INI APIs
by Alexander Golde
Analyzing Syslog files can be easy...
by Frank T. Clark
Improving file transfer speed for large files

Discussions

by CorinTack on article "PDF File Writer C# Class Library"
by Uzi Granot on article "PDF File Writer C# Class Library"
by CorinTack on article "PDF File Writer C# Class Library"
by Uzi Granot on article "PDF File Writer C# Class Library"
by [email protected] on article "PDF File Writer C# Class Library"

All Articles

Sort by Score

Files and Folders - Compression 

16 Jan 2012  
Simon Bridge
Multiple-file, searchable, streaming compression library implemented natively in .NET.
11 Feb 2014  
Uzi Granot
This project will give you the tools needed to compress and decompress files using the Deflate method of compression, and to read and write standard Zip files.
12 Oct 2011  
Tadeusz Dracz
A library to create, modify, and extract Zip archives.
14 Nov 2005  
Marius Daniel Ciorecan
A library that provides an easy to use class (CDecompressLibrary) that will detect and decompress into memory buffers an archive file (zip, gz, tar.gz).
24 Nov 2010  
Michal Stehlik
Simple way how to pack data into one file
19 Sep 2012  
ljw1004
Adding zip/unzip easily, no LIBS or DLLs, with an elegant and powerful API.
10 Dec 2009  
Agola Kisira Odero
This article describes arithmetic compression with an implemetnation in C#.
20 Dec 2009  
disore
A utility stripping your source code to the essential core and then compressing it to a nice CodeProject article attachment.
5 Aug 2012  
pdoxtader
A comparison of these two free zip libraries, complete with a multi-threaded VB.NET class wrapper for each.
12 Feb 2013  
dmihailescu
Zip/Unzip using java.util.zip from managed code.
24 Jan 2008  
salysle
This article shall describe an approach that may be used to collect files from multiple locations and zip them up into a single zipped folder.
28 Sep 2009  
Christopher Hahn
SharpZipLib is a pretty great Open Source compression library for .NET. Out of the box, however, it does have a few problems with archives for files that are larger than 2GB. ZipBuilder was created to provide a convenient way to let people programmatically create archive packages with large files.
25 May 2009  
Serhiy Perevoznyk
A C# wrapper for the Info-ZIP library.
9 Apr 2008  
Chesnokov Yuriy
The article provides a dynamic Huffman compression and decompression class and a console application written in C++.
8 Jul 2008  
salysle
This article shall describe an approach that may be used to extract Jar files.
5 Dec 2008  
Leung Yat Chun
This article describe how to perform list, extract, add and operations to archives using CAKE3.
14 May 2008  
Anders M. Mikkelsen
A very small library for unzipping zip files/streams.
5 Dec 2008  
Leung Yat Chun
This article explain how to create virtual filelist, directory tree and how to implement drag and drop using CAKE3.
8 Jul 2008  
salysle
This article shall describe an approach that may be used to extract Jar files.
25 Jul 2006  
Kangaroo
An MFC class to unpack Ear files, with multithread and GUI support.
14 Dec 2008  
Leung Yat Chun
This article explain how to use cake3's threading support.
23 Jun 2008  
Frankidoze
An article on how use GZipStream with string as input parameter.
25 Feb 2010  
kalyos
Using GZipStream to extract a text log and list the result in a grid.
Sort by Score

Files and Folders - Configuration Files 

5 Nov 2008  
Tolgahan ALBAYRAK
Read, Write, Save INI files without using Windows APIs.
26 Aug 2011  
Jecho Jekov
How to use .NET settings files in class library projects.
14 May 2013  
Serdar Kurbanov
Library for extracting configuration settings from custom configuration file is provided.
19 Feb 2014  
Alexandros Pappas
This article provides a program to demonstrate how to save and load all control values to user settings.
13 Jan 2009  
John Whitmire
Using custom configuration sections without having to understand them... much.
2 Jul 2008  
Hans Dietrich
XMLProfile implements a class to read and write XML profile files that is consistent with the MFC set of profile functions. Conversion functions to allow reading/writing both INI and XML profiles are included. A CWinApp-derived class provides drop-in replacement of the standard MFC profile functio
4 Jul 2012  
Jonathan Wood
Here's some lightweight C# code for reading and writing CSV files.
24 Jan 2012  
formlesstree4
An easy to use managed class to handle INI files.
22 Jan 2009  
Bjoern Hillebrand
A component that stores application content to an XML file.
15 Nov 2010  
Ludvik Jerabek
Read and write to INI files in VB.NET and VBScript
12 Sep 2009  
Avi Farah
Configuration files can be enhanced and extended using config-variables and if-logic
2 Feb 2011  
aodennison
Contrary to several articles, connection strings may be saved to app.config with just a few lines of code.
13 Mar 2007  
DXNuk
Complete source code line counter for .cs and .vb files (not an addon)
27 Jan 2007  
John Simmons / outlaw programmer
Implement XML application profiles that are similar (but not too similar) to using INI files
11 Jan 2008  
Ruben Jönsson
A class library that maintains persistent variables, properties and data between sessions in XML files. It supports default values for new variables and events when the values in the XML file are changed
6 Jan 2009  
Nic_Roche
A simple mechanism for partitioning settings for development, acceptance, and production.
10 Nov 2008  
Slava Khristich
Edit config file at app setup and after. Describes recursive node parsing and populating a tree view control.
13 Dec 2010  
Antony Highsky
This article describes how to store application settings in the machine.config file and how to expose these settings as strongly typed properties using .NET’s Application Settings architecture.
27 Mar 2009  
Avi Farah
Configuration files can be enhanced and extended using config-variables.
28 Jun 2004  
Phil Haack
Flexible and easy to use configuration section handler with change monitoring
8 Dec 2003  
Paperless
Read and write any configuration file with ease
6 Jan 2012  
Aleksey Shurtygin
An easy way to manage application configuration with a wide range of options for storage.
3 Jun 2004  
kratchkov
Permits simple access to ini files
17 May 2008  
freejack
An STL based C++ utility class to parse structured config files.
22 Feb 2011  
csrss
Yet another but a little bit different INI files parser.
17 Jun 2007  
Mats Gudmundsson
A simple class that stores settings in an XML file located anywhere. This class can be used directly as a visual component in VS. Use this as it is or as an inspiration for something better!
22 Oct 2003  
Daniel Fisher (lennybacon)
This article describes how to create a custom configuration file AppSettings reader class.
8 Dec 2008  
Hilly_Billy
An INI file enumerator class using C#.
10 Aug 2005  
aejw
Class for interfacing with INI files.
15 Jan 2007  
felixLindemann
Handling INI files in VB.NET.
22 Aug 2008  
RohitOn.Net
A very simple to use configuration reader/writer for .NET.
5 Mar 2008  
Guy Baseke
Generic reading of configuration sections.
Sort by Score

Files & Folders - Encryption 

23 Sep 2002  
Nir Dremer
File Encryption Utility based on Blowfish Encryption Algorithm.
17 Jul 2000  
Dan Madden
Demonstrates using encryption to protect sensitive application log file data.
14 Aug 2000  
Dan Madden
An article on file stream encryption (using Crypto++ v3.2) from an Explorer Context Menu.
1 Nov 2001  
Gilad Novik
How to serialize encrypted data using CArchive
15 May 2008  
Steve Lydford
Demonstrates how to encrypt and decrypt any file type using C#.
13 Mar 2008  
Alessandro Del Sole
Learn how to be the only one accessing your files, with two simple .NET methods.
9 Dec 2004  
gamitech
This program will take all lettlers from a given file and turn them into a binary code defined by me. Attention, it only encrypts keys that are on you keyboard and it is not case sensitive.
Sort by Score

Files & Folders - File Formats 

19 Jul 2007  
Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
24 Jun 2012  
yuan yong fu
XDD-Tools for developer , count source code line,copy project file, remove comment in source code.
7 Jul 2007  
Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
6 May 2014  
Uzi Granot
PDF File Writer is a C# class library allowing .NET applications to create PDF files. Version 1.5 Barcode support (Code-128, Code-39, EAN-13, UPC-A)
11 Dec 2008  
Hans Dietrich
The XPEInfo APIs allow you to extract information from a PE file. Included in the download is a Windows demo app, and a console app that tests whether a PE file is valid, whether it is 64-bit, contains debug info, is a .Net executable, or is signed. Sample cmd files are provided.
26 Nov 2013  
Wong Shao Voon
A portable and easy-to-use C++ file library to read and write structured data
9 Jul 2007  
Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
15 Mar 2014  
Uzi Granot
PDF File Analyzer is designed to read, parse, and display the internal structure of PDF files. Version 1.2 Process Cross Reference Streams
25 May 2013  
Alberto Molero
This article describes the file format NBT and shows how can be implemented in a real application to store data.
23 Dec 2013  
wmjordan
Converting PDF into bitmaps without installing extra components.
3 Apr 2014  
Manabu Kumeta
How to use Unicode in INI files.
21 Sep 2004  
Todd Davis
A fully featured and cross platform friendly way to handle *.ini and *.cfg files.
9 Aug 2005  
.rich.w
An easy to use class based around unrar.dll.
15 Aug 2008  
blackjack2150
An article on converting image files (BMP, PNG, GIF, JPEG, TIFF) to PDF
30 Jan 2002  
Brad P. Taylor
A template class to making loading Adobe Photoshop files easier
18 Feb 2003  
sirrube
Tiff To PDF conversion Source Code.
16 Oct 2008  
typecast
An object oriented class automating the creation of PDF files from any file using freeware tools.
5 May 2010  
Stefan Kuhr
Useful functions to retrieve information from PE files
22 Jun 2009  
Henrik Thomsen
Legacy file formats, such as UN-EDIFACT with a record per line and fixed-length fields, still exist and are widely used for B2B transactions. A tool that can convert legacy files to human-readable XML might come in handy.
1 Nov 2004  
darkoman
An article on direct ANSI to Unicode text document conversion from the source code.
18 Jan 2006  
cokkiy
An article on how to read/write a line from/to a text file encoded by ANSI/Unicode type.
10 May 2009  
Liu Junfeng
Make use of the comma separated values file format.
9 Oct 2007  
RG_SA
Convert a PDF to text.
25 Jan 2000  
Claude Gagnon
A simple class for writing AutoCad DXF files
Sort by Score

Files and Folders - File System 

15 Sep 2011  
Nathan Stiles
A class written to easily handle long paths (32K in length) using .NET.
17 Jan 2013  
kosmoh
Having too many files in one folder causes file manipulation to slow down the program. The class presented here is intended to provide a tree-like folder structure for file writing.
22 May 2014  
newton.saber
The complete deletion of files leads us to understand the file system and OS even more deeply.
9 Jan 2014  
Jim Parsells
A Class Library for building Forms with a folder navigation TreeView and form specific ListViews that can be tailored for your application and behave like Windows Explorer. Full documentation.
30 May 2010  
cyb70289
A C++ library to help in parsing an NTFS volume, file record and attributes.
24 Feb 2006  
Carl Daniel
An efficient solution for finding files.
19 Jan 2010  
Rajkumar-Kannan
This article helps users understand Sparse files on Windows and how to create and manipulate these files from within their Windows applications.
21 Jul 2010  
Udi Cohen 1 alternative  
Utility that sorts the files' table in the FAT32 file system.
18 Dec 2010  
John Simmons / outlaw programmer
How to get all the events you want - whether you need them or not.
18 Dec 2010  
John Simmons / outlaw programmer
Use the demo application (from Part 1) to observe events posted when creating files in the watched folder
20 Oct 2006  
John Storer II
The .NET framework doesn't have a Directory.Copy() method. So I developed one myself.
27 Aug 2009  
wilsone8
Describes how to create a significantly faster enumerator for the attributes of all the files in a directory.
18 Apr 2014  
Apriorit Inc, Andy Bisikalo
In this article, we’ll consider Dynamic Disks. We are going to explore the program implementation with the help of the LDM (Logical Disk Manager) technology.
24 Feb 2006  
Massimo Beatini
Sometimes the search engine integrated with Explorer doesn't work fine, especially when I try to find text contained into files, so I decided to build my own search program.
5 Mar 2005  
Alexandru Ghiondea
Presents an application used to process files within a file structure using event handling and plug-ins.
19 Sep 2006  
jeff.brown
How to create and manipulate NTFS Junction Points (aka. symbolic links) in .NET
8 Feb 2007  
Luke Stratman
This service watches for filesystem events in directories and runs specified programs in response to those events.
31 Mar 2013  
Luc Archambault
An application that monitors a directory and maintains a copy of it.
8 Aug 2005  
Venkata Kancharla
A Windows service which monitors the directory changes, writes an entry in the event log about the change, notifies the change to the users by sending a mail, and also converts the input XML file into a DataSet.
21 Apr 2010  
Kasic Slobodan
Easily assign your extension to your application and set an icon.
27 Feb 2006  
Jason.Thomas
An interface that encapsulates file-system folders and files that includes implementations for the file system and memory.
23 Apr 2007  
Matt Sciotto
This article explains the basic techniques and VS.NET project structure for creating and implementing a simple C# FileSystemWatcher Windows Service
18 Jan 2005  
InteractiveLogic
This article describes how to assign an icon to a folder in Windows Explorer, using C#.
21 Sep 2006  
George Oakes
This is an advanced manipulation of the FileSystemWatcher object.
9 Mar 2010  
rlasse
Avoid swapping out valuable file system cache of other applications when accessing large files that you know are not accessed again later.
13 Oct 2007  
anjelinio
BlockingFileObserver - an IEnumerable implementation
20 Nov 2002  
GriffonRL
Simple C#/.NET tip to copy an entire directory tree to another directory
13 Aug 2003  
Andrew Boisen
Class Library that recursively searches a given directory and returns an ArrayList of files that can be bound straight to a control.
11 Dec 2009  
PenangDev
A class to check disk information like total size, free space, used space, and clean up.
11 Jul 2005  
SathishVJ
Touches a file with specified date/time so that its access, creation or modified date is changed.
11 Dec 2007  
Buffalloy
A way to convert a folder into a file...
27 Jun 2004  
kratchkov
A set of classes which can get differences between two folders and which can synchronize them according to basic rules
23 Apr 2009  
Shaoying Wei
A window service that can copy and delete files across domains to keep 2 folders synchronized
18 Sep 2003  
Erhan Hosca
Describes a directory tree documenter that outputs XML.
23 Mar 2004  
Brad Vincent
Easy implmentation of folder watcher class, by wrapping the logic and events.
3 Oct 2005  
Vahe Karamian
An easy to use file system class supporting threads.
21 Apr 2004  
Shail_Srivastav
An enhanced Windows Explorer application which consists of a tree view where someone can see the files available in the existing drives up to certain levels.
17 Jan 2006  
Tareq_Gamal
Quick directory copy to another directory.
18 Apr 2004  
Srinivas Varukala
Scans through the directory recursively and calculates the total size.
25 May 2007  
DumpsterJuice
A quick example of how to batch-
9 Dec 2003  
dzzxyz
This file system watcher allows you to monitor all file system activity on a target server.
1 Jun 2007  
FrankNight
This project shows a technique to archive old files and to optimize the backup of your company.
21 Feb 2006  
Skeeter
A C++ implementation of the Windows FileSystemObject object. It wraps and extends the standard FileSystemObject interfaces (methods/properties). Now, C++ developers can manipulate folders and files without their own Win32 API code. They can take advantage of the well-tested Windows FileSystemObject.
24 Jun 2005  
Aryasheel
The article fills in the gap for the .NET framework to copy directory contents.
21 Jun 2007  
Mor DeRor
Code for deleting 0 length files.
5 Sep 2013  
RogerGDoss
It can be used for archiving files as all reads and writes occur on one actual file in the underlying system. Additionally, it can be used to stream data out in a client-server environment. Further, it can be used as a file system for a hobbyist operating system or embedded operating system.
C
Sort by Score

Files 

9 Jan 2009  
pablodg
Workaround to get the correct LocalDateTime of files no matter which date settings your computer has.
9 Nov 2011  
B@dC0d3r
Views records from File Server Audit program
19 Nov 2011  
User008
Drag 'n Drop asynchronous files from an external server or device
23 Mar 2012  
Elmue
How to implement creation and extraction of Microsoft CAB files
31 Aug 2009  
Luc Pattyn
My entry to the lean-and-mean programming competition.
4 Apr 2005  
wumpus1
A native .NET class for saving URLs: text-only, HTML page, HTML archive, or HTML complete.
18 May 2010  
Martin Brandl
Easily determine the version of a specified file or the version of the current process.
28 Jun 2005  
Anthony Baraff
Exploring the fastest way to read structures from a binary file in C#.
4 Apr 2007  
Ozgur Ozcitak
An article explaning how to read backup files created with the Microsoft Tape Format (MTF) specification.
28 May 2014  
wilsone8
A complete wrapper for the Win32 INI APIs
30 Dec 2011  
Richard Chambers
A small function library for managing a file containing data records that have unique keys or indexes.
7 Aug 2009  
Allen _ Wang
This article will introduce how to validate a text file based on LINQ.
25 Jul 2011  
Praveen Kullu
An Attribute changer which can change attributes of files and folders
16 Aug 2010  
Mr.PoorEnglish
Avoid foot-traps while using StreamReader / StreamWriter
28 Jun 2011  
Pascal Ganaye
A small utility that will help you get rid of the hard to remove protected or system folders
31 Jul 2005  
Pascal Ganaye
I use a procedure based on batch files to copy various versions of my project. I was a bit fed up to wait for the batch file to copy hundreads of files and wrote this small utility to speed up the process. I hope some of you will find it useful.
24 Sep 2007  
AshokPatra
This article explores the foundations of file handling and serialization in VB.NET
24 Aug 2009  
Nish Sivakumar
This is an LCS based diff library that was written for the Code Project Lean and Mean diff engine contest
22 Jan 2004  
Todd Davis
A .NET control to assist in the creation and manipualtion of *.ini files
13 Sep 2008  
Mycroft Holmes
Utility class to import and export CSV files.
10 Aug 2002  
Sreenivas Vemulapalli
This tool is used to split large files into smaller chunks and merge them back into a single file.
11 May 2013  
CognitiveFeedback
General solution to Serializing and Deserializing CSV files.
29 Jun 2006  
Jack Schitt
A class to manipulate INI files, for .NET 2.0.
15 Aug 2004  
cuepack
The article shows how to get the detailed information of a file like comments, author...
14 May 2007  
TyronM
A way to modify Zip archives without extracting them completely.
27 Nov 2008  
Etienne Rached
Change created, modified and accessed time
25 Jul 2005  
Jitesh Patil
Reads binary records. If the record structure changes, you don't need to change the source code.
15 Feb 2005  
Tony Selke
This is a utility class that will allow you to parse fixed-width or delimited text files in an event-driven model. Simply specify the file location, the format type (fixed vs. delimited) and add TextField members to the strongly-typed TextFieldCollection.
25 Mar 2005  
Pablo Robert
How to use VB.NET to build a Windows Service that monitor folders looking for files in ZIP format (and unzip them).
6 Mar 2006  
danhi
A pair of classes to read the ID3 tags from either a WMA or MP3 file.
13 Aug 2009  
Matthew Hazlett
A file diff utility.
9 Jan 2004  
RichardRoe
An article on processing a File using the FileSystemWatcher class
14 Nov 2006  
rmortega77
This article describes a recursive method for copying files to different volumes.
1 Nov 2004  
Leonardo Pessoa
Some time ago, I faced a different concept of file when I worked on a mainframe: one that holds multiple other files. Since then, I tried to reproduce this behavior in .NET.
2 May 2006  
Denny50
This application divides files into groups
14 Jan 2004  
Yiltan Bitirim
How to prepare an application for working with random files using VB.NET
31 Oct 2010  
TG_Cid
Component to load data from files or DB connection, gets the data asynchronously and fires an event when it finishes. All the read data is loaded to a DataTable
4 Feb 2003  
Samar Aarkotti
Getting information of Files and Directories
22 Jan 2007  
aalday
Sample code for using FileMapping on .NET.
23 Jun 2007  
Leung Yat Chun
This article describes how to use CAKE3, which is a wrapper component for many archiver DLLs,
7 Aug 2007  
Raymund Macaalay
How to monitor multiple files using FileSystemWatcher.
27 Oct 2007  
Eric de Maar
Automatically process incoming files by using the DirectoryInfo class instead of FileSystemWatcher.
3 May 2013  
charan anasam
Introduction to the Resources .resx and Resources files
Sort by Score

Files & Folders - General 

19 Jun 2002  
Sven Wiegand
A class that enables you to easily retrieve a file's version information.
12 Aug 2008  
Dileep.M
All about generating PDF files for Indic scripts using iText/iTextSharp.
11 Mar 2009  
Jellow TK
This simple tool will add method-entry logs in source files.
26 Jan 2010  
Pravesh Soni
How to show thumbnails of XPS documents.
24 May 2005  
PEK
CTextFileDocument lets you write and read text files with different encodings (ASCII, UTF-8, Unicode 16 little/big endian are supported).
21 Nov 2004  
bektek
This simple class shows how to iterate file names by using STL iterator interface.
21 Aug 2002  
James Spibey
A class that allows you to create self extracting executables for use in distribution or setup programs
15 Jul 2009  
Chris Maunder
A simple utility to change a file - or multiple files - "Modified" time.
28 Aug 2002  
Joshua Jensen
Class and application to recursively or non-recursively match files or directories based on a wildcard pattern.
3 Jul 2002  
Paul Ingles
Article showing how to read file and folder icons from C#, and then building a management class to maintain file icons in up to two ImageList objects.
22 Sep 2005  
Thomas Serface
A CFileFind with include/exclude filters.
12 May 2002  
Wes Jones
This class wraps up ReadDirectoryChangesW.
11 Feb 2009  
Febin Joy
Drag and drop a file to a Windows folder from your application without using Shell Extensions.
29 Jan 2005  
IGx89
Instructions on how to implement _fseeki64 and _ftelli64.
19 Jul 2007  
David Pritchard
A class, derived from CStdioFile, which transparently reads and writes both Unicode and multibyte files. Version 1.5.
19 May 2003  
Hans Dietrich
XFile extends the Win32 file functions with a non-MFC class that includes functions to implement file rollover, file shrinking, file compare, buffered writes, mapped file reads, zipping, and automatic file size limits.
1 Mar 2003  
Abin
A class that allows fast and easy file/directory operation
16 Aug 2002  
Samuel Gonzalo
Search for files by name, size, date, text contents. The search can be performed in a single folder or including it's subfolders.
2 Mar 2003  
Chris Losinger
Scans a folder for sub-folders and files. Simple and easy to use.
19 Nov 2001  
Nish Sivakumar
A class for packing and unpacking file archives.
15 Jul 2001  
Andrew Peace
A wrapper class for easy use of OLE structured storage.
7 Feb 2011  
John Simmons / outlaw programmer
Windows service for synchronizing folders
15 Jul 2009  
Jeffrey Walton, Jordan Walters
A UTF-16 class derived from CStdioFile for reading and writing Unicode files
30 Mar 2004  
Armen Hakobyan
Class for getting file version information
25 May 2010  
Leung Yat Chun
This article describes how to uses IShellFolder to list special / virtual directories using C#.
27 Jan 2004  
Nitron
This class reads numeric data and stores it for easy access. The data can be accessed by (row, column) from any data reduction routines you may have.
11 Oct 2006  
Johan Rosengren
A class for common directory and file list operations.
11 Jun 2007  
Hans Dietrich
XFolderSize is a non-MFC class that collects folder size, folder count, and file count based on starting folder.
16 Aug 2002  
Samuel Gonzalo
A class to work with path strings, to parse command line arguments and get file properties
11 Mar 2009  
Jellow TK
Include Analyzer (Unwanted header file inclusion removal)
13 Jan 2005  
Ramanan.T
A tool to undelete a file in NTFS and a short tutorial on NTFS
24 Nov 1999  
Antonio Tejada Lacaci
This class gathers file information recursively by directory and, as a bonus track, it also calculates the 32bit file-checksum and CRC
17 Jan 2009  
Abdallah Gomah
How to extract icons from EXE/DLL, split/merge icons, and get icons associated with files.
30 May 2003  
Hans Dietrich
XHtmlLog converts delimited text log files to HTML for display by a browser. Callback functions allow the output to be customized prior to HTML generation.
26 Nov 2010  
Antonio Sandoval
Wrapper C# class written in C++\CLI and a sample implementation in C# to render PDF files.
9 Sep 2005  
peterchen
A wrapper class for path strings based on (and improving) the Shell Lightweight utility API.
28 Jan 2004  
xiaogi
A software to count lines in our source code.
13 Jan 2004  
Louka Dlagnekov
This class is intended to alleviate the task of finding files and folders in a directory with options such as search filters; exclude file filters, exclude directory filters
14 Jun 2003  
Hans Dietrich
XFileProperties demonstrates the use of CXFileProperties, a class that displays a modeless dialog similar to the Windows file properties dialog.
9 Oct 2007  
Yap Chun Wei
A portable software to import, export, delete, rename, view, edit and execute files in TrueCrypt containers without requiring administrative privileges
10 Apr 2003  
Joseph Dempsey
Provides a class capable of providing a CFile sytle interface with no MFC dependecies and more importantly providing the ability to read/write if full overlapped IO mode with a user defined callback between each segment read/write.
18 Jan 2001  
Peter Pearson
An article on importing multiple sets of string values into a program from files (e.g. CSV files).
25 Oct 2001  
Joseph M. Newcomer
The secrets of File Handles and their relationship to File *, CFile, CStdioFile, etc.
26 Apr 2005  
Pascal Hurni
Handle your program settings easily with multiple storage schemes and for several frameworks.
1 Apr 2008  
qweqwe
This class helps you to monitor files. You are notified if a file is modified outside the program.
30 Mar 2005  
Johan Rosengren
A small helper class for reading, writing and appending to/from text files.
11 Apr 2005  
Omri Shaked
An article explaining how to convert logical offsets returned by FSCTL_GET_FILE_RETRIEVAL_POINTERS to physical offsets from the beginning of the disk.
15 May 2007  
Joseph Guadagno
By now, many of us have seen customized folders in Windows XP and earlier, i.e. folders like My Documents, My Pictures and so on. I intend to show you how to create these customized folder views using C#.
11 May 2012  
Abhishek Sur
Unique folder protection that issues Windows Class IDS to protect folders.
24 Feb 2010  
Ahamad Alisha
Restricting the user to browse and select from a particular folder
12 Dec 2000  
Franky Braem
An ATL control for monitoring your directories and/or files for updates, creation and deletion
6 Jan 2006  
Roger65
Windows Find is a nice tool but sometimes you want a little more. This program/tool does just that.
12 May 2003  
whizer
A simple XML style logging class for all purposes.
7 Sep 2005  
Achim Klein
Browse to a folder.
7 Feb 2003  
Doru Cioata
A class built around the use of ShGetFileInfo() function.
6 Jun 2005  
Birender Singh
CreateDir function creates folders and subfolders thereby completing the whole path. This function overcomes the limitations of CreateDirectory Win32 API.
9 Nov 2006  
Najam ul Hassan
How to access the Summary Information Property Set of a file, using Visual C++.
16 May 2002  
Davide Pizzolato
Disc and memory files within the same object
6 Dec 2008  
Loreia
CEnum is used for enumeration of files and directories using wildcard matching (globbing)
3 Jan 2010  
jesseseger
How to read M4A file information such as author and song title.
14 May 2003  
Hans Dietrich
XReverse reverses a text file line-by-line, so that what was the last line becomes the first line. This is useful when you want to view server logs, for example, with the latest line displayed at the top. Memory-mapped files helps to make XReverse very fast.
20 Jan 2010  
Rei Resurreccion
Experience small and compact desktop icons view in Vista and Windows 7.
4 Nov 2005  
mb2sync
A Port of ::FindFirstFile to Boost.Range and Boost.Foreach
27 Feb 2012  
brofield
Simple reading, accessing and writing of INI configuration files on Windows/Linux/Unix using a cross-platform and fully Unicode/MBCS/UTF-8 aware library
26 Aug 2006  
ikehat
Transactional files, missing in Windows, allow file manipulation that can be rolled-back to the original state, and retain their integrity in case of failure. It can be used for any manipulation, including accelerated alternatives to database manipulation (to be discussed in a follow-up article).
26 Aug 2009  
Pete Souza IV
This project is a response to the file diff. CodeProject contest due August 31st, 2009
18 Sep 2002  
Aisha Ikram
List sections and section data (key-value pairs). Displays a key value and creates/modifies a key-value pair
17 Aug 2002  
Bijesh
This article describes two classes, one for splitting a file into smaller chunks and another for merging smaller files into one. Also there is a utility written using these classes.
21 May 2003  
Dominique Doucet
Utility to quickly archive any project to a Zip file.
14 May 2002  
Jason Henderson
A simple class derived from CFile that will handle many of your logging needs.
4 Jul 2003  
Kamal Shankar
A set of classes that allows you to search for strings in text files and replace them.
29 Oct 2004  
Stuart Konen
An article providing classes to split and mend files.
27 Apr 2003  
Michael Walz
Explains how you can have a program delete itself once it has finished running without a reboot
22 May 2009  
Neil Cadman
This article shows you how to construct a class to copy files and folder trees with an optional progress indicator.
31 Mar 2004  
Fess
Class that allows file operations without using SHFileOperation
23 Sep 2003  
Vitali Halershtein
Article describes how to create a file system spy application
27 Feb 2004  
Emilio Guijarro
A MFC class to store an application's profile in an XML file.
19 Apr 2005  
Sergey Okhotny
Fixing System.IO.Directory.CreateDirectory() security bug.
25 Feb 2010  
365days.enjoy
The way to calculate a collection of folders size with VC++
15 Dec 2004  
Christopher Diggins
Finding the size of the file in C++ in a portable manner is not trivial!
9 Feb 2001  
Mumtaz Zaheer
How applications determine the last visited folders for Open/Save Common Dialogs in Win2K.
10 Oct 2002  
Joe Woodbury
Function to determine if a file name is valid.
6 Apr 2003  
Brigsoft
Article that explains drag, drop, cut, copy and paste operations on lists of files using MFC
24 Jun 2008  
ozkar garcia
VBScript code which can rename multiple files in a folder by replacing certain patterns and extensions.
26 Feb 2004  
PJ Arends
a simple class that implements a rotary (circular) text file
1 Dec 1999  
Franky Braem
An article about how we can notify our application that a file has been changed by another application.
12 Dec 2004  
Ramanan.T
This is a simple tool to change created, modified and accessed dates of any file/folder.
8 May 2001  
Rui Lopes
An article about creating Self-Extracting files with integrated compression
16 Sep 2002  
Nir Dremer
How to create a Self-Extracted executable with minimal overhead
22 Sep 2003  
Elias Bachaalany
An example of writing a self-extracting archive using pack and unpack routines.
10 Sep 2005  
Jason Q Zhang
An introduction to NTFS's Change Journal and a simple tool to operate
17 Dec 2007  
Balaji Lakshmanan
Using the Unicode version of CreateFileW, we can overcome the PathTooLongException error on file operations.
17 Oct 2002  
nums
A class for splitting a large text file into equal amounts of smaller sub_text files
22 Jun 2001  
BLaZe
Code to recursively search folders to display file type information and icons
23 Sep 2007  
nitstheone
This article tells how to copy a directory recursively using WMI
5 Feb 2005  
AntonGogolev
Using XML to store settings.
29 May 2008  
Abbas Ali Butt
Select image and folder, then against the click button set the image as background at that folder.
4 Aug 2003  
jukov
This article discusses how to handle file system notification events.
27 Feb 2007  
A. Bhandari a.k.a Amit Bhandari
Batch file renaming utility using threading
1 Jun 2003  
Stefan Voitel
Two classes using cabinet.dll to create or extract from MS-Cabinet Files
15 Mar 2003  
hector santos
An utility to search files in Environment's Directories
27 Nov 2006  
Dennis Kuppens
An article about CProperties, a helper class to easily store application properties in an INI file.
4 Nov 2005  
Jaroslav Klima
This article describes a very simple library which provides functions for reading and writing lines of text from/to a file on disk, supporting both ANSI and Unicode.
9 Apr 2006  
Esben Sundgaard
An article on getting the size of all folders
9 Jul 2004  
Sven Axelsson
A class derived from CStdioFile to read and write from an UTF-8 encoded file.
21 Aug 2004  
shiraztk
A project to create PDF files using text editor and digitally sign them.
1 Jun 2007  
mariocatch
Browse for a Source File, and either Copy it to a Destination location, or delete that file
22 Nov 2005  
KarstenK
An easy way to get the icons of remote files if only the extensions are known.
1 May 2003  
jazper
An article on Protocolling / Logging
1 Apr 2001  
Tili
This class creates from 1-9 segments of a single file which can be then desgmented.Useful for moving larger file on floppies.
21 Feb 2002  
Jonathan Pouliot
This article shows you how to delete all the files and subfolders in a selected folder
3 Jul 2008  
MrMahjong
How to monitor a folder's activity with delegates and events threadsafe
6 Feb 2001  
Anna-Jayne Metcalfe
A class to monitor free disk space on a nominated drive
30 Mar 2002  
sultan_of_6string
A class that searches a directory tree for files using a worker thread, keeping the main app. usable.
7 Jul 2005  
Automation Software Engineer (A.S.E)
Reusable class to enumerate files and folders with combined file extensions, example: *.cpp,*.h,*.dsw.
7 Sep 2005  
Achim Klein
Serialize and access your application's config values.
6 Jul 2006  
maneshcs
Create directories and copy files by traverse function
17 Dec 2004  
Feroz Zahid
Function that deletes whole of a directory structure.
27 Jun 2006  
Jeff Modzel
First article in a series about useful classes in .NET.
13 Apr 2007  
emad_awad
Used to convert Text Files to a different code-page
7 Sep 2005  
Achim Klein
Splitting a path into its components.
31 Aug 2006  
nitstheone
Prints last 10 lines of a file
6 Feb 2001  
Ibrar Ahmad
A class that implements a simple circular file.
12 Aug 2001  
Scott Wenger
This is a small program that can extract email addresses from files that are not necessarily text files.
24 Jul 2007  
Chase Davis
A file / folder selection control that hides the selection until needed.
14 Apr 2008  
VCSKicks
Scan a hard drive file structure and map it out in a TreeView control with C#.
15 Feb 2005  
Roger65
An article on finding files created before a date.
12 May 2006  
Ali Rizvi
How to do image classification using file header information.
3 Mar 2009  
thardy33
Decompressing Gzip files.
27 Apr 2003  
Robert James Metcalf
This class archives files together. It can compress them, decompress them & decompress them from a resource. It uses it's own format and not the normal zip format
30 Oct 2002  
Pyatex
This class splits a source file into many smaller pieces which can be distributed accross the web or on floppy disk.
30 Apr 2003  
harinath
A console application to read data from a Windows Installer database
27 Oct 2007  
carlosmsr
A basic .NET file browser fully based on the framework
2 Jan 2007  
Masoom Shaikh
Version APIs wrapped in a simple component.
23 Aug 2006  
TooBaya
Using C to read and write INI file
14 Sep 2007  
Chetan Raiyani
You can read any length of line from the source file. No restrictions.
30 Jul 2004  
ChauJohnthan
When you want to find a virus or a trojan, you can find fixed bytes by comparing and then search it out from your local disk
1 Feb 2005  
Dudi Avramov
Folder utilities such as creating, removing, copying folders and getting folder's space.
4 Oct 2007  
tahouri
This program simply generates a batch file that you can extract your .00x files
15 Oct 2007  
Babak Ansari
Simplicity is the core value of XP. Automate the check-in process in VSS to simplify the Build process.
3 Nov 2006  
vaseef
An article on a Browse Dialog which helps you to select multilple files and folders.
3 Apr 2009  
ibramoha
The program divides the folders into a wanted folder or path according to a number that the user will enter.
22 Jul 2008  
Jans Mary Suncy
Copying files from source locaion to target location based on the file creation date
31 Jul 2002  
Chandra Hundigam
A brief introduction to the .NET System.IO.Directory class
21 Nov 2008  
LeeBear
This is an inline enumeration of files instead of building an array first.
11 Jul 2006  
Lampros Giampouras
Converts any file to an array of bits.
26 Feb 2007  
Ravenet
THis atricle so some useful infomation any type of files and basic file attributes also
28 Jun 2005  
shaman74
A simple function to retrieve file information as file version, product info etc.
13 Jul 2006  
dfasdfafasdfasdf
"Auto Complete" setting in a DOS prompt enable users to traverse folders using tab key
20 Feb 2008  
Jude Deng
A simple method to create a shortcut to an executable file.
1 Jan 2010  
Leung Yat Chun
Allow users to make virtual directories and use them via a similar interface as DirectoryInfo.
Sort by Score

Files & Folders - Memory Mapped Files 

26 Feb 2005  
Rohit Joshi
Memory Map class provides IPC using shared memory. The Policy based design provides flexibility, extensibility and easy to use class.
12 Jun 2009  
manju_soham
A generic C++ class for simple file I/O, just like CFile.
16 May 2002  
Hirosh
A simple and fast method to extract Email ID's from an Address book
Sort by Score

Files and Folders - Security 

28 Oct 2008  
Steppenwolfe
A secure file shredder in C#
23 Jan 2005  
Sean Michael Murphy
A library you can use to encode "hidden" data in existing files.
12 Jun 2014  
Michael N. Haephrati
How the Shopping List mechanism was used as part of the Target Eye project
4 Dec 2008  
Patricker
Remove security from PDF files.
17 Jun 2006  
Alaa-eddine KADDOURI
An example demonstrating how to sign PDF documents with the iTextSharp library.
8 Oct 2005  
Rei Miyasaka
Make better use of time by calculating CRCs on-the-fly.
13 Jul 2006  
Bruce Hatt
A simple way to test individual access rights for a given file and user
18 Oct 2009  
Igor Krupitsky
This Windows application lets you password protect PDF files in a given folder.
20 Oct 2005  
Marco Roello
A GUI extension of the NTFS library written by Richard Deeming.
29 Sep 2005  
belthurgp
FileHasher is a tool to hash files recursively across a selected folder.
11 Feb 2005  
Dariush Tasdighi
Get file's hash (SHA-1, MD5) - This program needs .NET Framework 1.1.
25 Feb 2008  
zenox
A C# program showing how to use the System.Security.Cryptography.MD5 class.
Sort by Score

Files and Folders - Utilities 

21 Apr 2008  
awln
Automatically creating multipart Zip files.
3 Aug 2011  
Eric Lynch
Flexible CSV reader/writer with progress reporting and many file format variations.
23 Apr 2012  
Alex Wiese
Monitors log files and displays text as it is appended to the file
22 Nov 2012  
chuck in st paul
This is a utility program for bulk/batch renaming of files that demonstrates using and creating events
13 Mar 2013  
Manfred Bittersam
Compare binary files.
15 Jan 2011  
Marc Clifton
Monitor files and when they change, copy them to specified folders.
31 Jul 2008  
Michael Ulmann
A simple .NET PDF merger that supports header and footer text.
15 Dec 2008  
eRRaTuM
A utility to find any duplicate file in your hard drives using MD5 hashing.
8 Jan 2009  
Armen Hakobyan
An article on reading file sectors directly from disk using logical offsets
14 Dec 2013  
Igor Krupitsky
This Windows application lets you merge image and PDF files in a given folder into one PDF file.
9 Jun 2009  
Jim Parsells
Create useful directory restore points, quickly and easily.
3 Dec 2009  
TL Wallace
A comprehensive way to manage all of your downloaded zip files.
14 Sep 2012  
sbarnes 1 alternative  
WPF and Form utilities that do a better job copying and comparing large files on cranky hardware. Plea for software manufacturers to consider fault tolerance.
30 Mar 2012  
tadeze
A tiny tool to unhide files on a USB drive.
16 May 2009  
Donsw
Full and incremental backup of files.
1 May 2009  
Mitch Stephens
A WinForms application with command line execution that scans a folder tree, creates one or more Zip files, and emails them to a Gmail account along with a formatted message.
2 Jul 2009  
Tamer Oz
An application to preview your documents and files such as PDF, Doc, JPG, PPT, XSL.
20 Oct 2010  
Steppenwolfe
A simplified file renamer
10 Oct 2013  
jabit
Automatically unblocks and extracts Zip files in a monitored folder.
29 Sep 2012  
Manfred Bittersam
A freeware file searcher in C#
25 Aug 2011  
Sebastian Solnica
PDB files indexer (using file archive as a repository).
2 Feb 2009  
Predrag Tomasevic
Using OpenOffice to convert different document types to PDF.
1 Aug 2008  
Paul Sanders (AlpineSoft)
Surprisingly, neither the C++ runtime library nor the Win32 Platform SDK provides any routines to read and write Unicode text files. This article provides high performance routines to read all types of Unicode files (both UTF-16 and UTF-8) as well as ANSI files.
6 Jun 2007  
Vance Kessler
This article describes how to write an application to monitor text log files
15 Nov 2011  
Indrajeet Valera
File Cleaner - Zip & delete old files
13 Aug 2005  
kubben
Using Word Automation for converting files to XML, RTF, TXT, HTML, etc. formats.
26 Apr 2013  
Pieter Alec Myburgh
Folder Encrypted / Decrypter with standolone function
21 Dec 2010  
Jeff Gaines
A dual pane file manager for Windows XP.
8 Mar 2009  
Đonny
This article introduces and describes a framework that allows the creation of managed plug-ins for the Total Commander file manager.
23 Feb 2006  
wenjunw.comnt8
An article on separating your working file from Visual Studio .NET 2003 solutions.
7 Jun 2005  
gtamir
Decode Resource Interchange Files (AVI, WAV, RMID...) using this pure C# parser.
31 Jul 2008  
thund3rstruck
Interaction with CBZ/CBR comic books in C#.
2 Aug 2008  
SHRIDHAR TL
Split huge files into many small pieces as specified by the user.
19 Sep 2008  
thund3rstruck
Renaming files with a multi-file renamer.
11 Aug 2008  
eRRaTuM
Utilty to quickly split and merge files.
19 Jun 2009  
Gabriyel
A nifty tool to help people track changes in files in real-time
17 Oct 2008  
CodeBureau - Matt Simner
A C# console application for deleting files based on age.
30 Jun 2010  
jabit
A simple search class to search a directory and all sub-directories in the background for files with a defined search pattern.
20 May 2009  
Eric Marcon
A control to synchronize folder contents.
12 Mar 2007  
victorbos
A utility to read, edit, encrypt, decrypt, write XmlStore files.
2 Nov 2009  
Etienne Rached
Backup or save or convert MSN Messenger custom emoticons to GIF files
5 Aug 2011  
Igor Krupitsky
This Windows application lets you deleted all of your pages from your PDF files except for the first one.
25 Jan 2008  
Vivek Krishnamurthy
A disk analyzer using C#.
8 Jan 2009  
The Everator
Customizing XP with Vista features
26 May 2010  
Roger500
File Find is fast, especially if you have multiple physical drives; version 2.1.0.17.
25 Nov 2005  
daylightdj
A re-usable file finder algorithm using hashtables.
6 Nov 2008  
Pedram Behroozi
Separate your files into pages, so you can view your really large files in less than a second!
18 Jan 2009  
Shup
An article on easily finding the paths of commonly used user specific directories.
14 Nov 2010  
infinateone
A file manager app with Clipboard interaction and drag and drop support.
16 May 2011  
dimas1971
Parsing Zipped plain text files and saving results to a local database with .NET 3.5, LINQ to SQL, BackgroundWorker, and UI.
20 Nov 2008  
Micah Burnett
A simple OO backup utility that preserves full file paths
2 Aug 2008  
Arman S.
A tool that finds duplicate files in your system.
24 Aug 2004  
Colin Savage
A shell extension to associate applications with particular XML namespaces.
18 Apr 2010  
kim.david.hauser
Open a cmd console from almost anywhere in Explorer via context menu
1 Sep 2009  
Biswas, Sumit
Helps UNIX / Linux administrators to analyze VMSTAT files for system resource utilization.
1 Aug 2007  
lost in transition
UnZipper is a file extraction tool for decompressing files of a selected type/file extension out of a Zip or a compressed folder.
1 Sep 2012  
@AmitGajjar
Application for seaching similar kinds of files in different folders.
23 Jul 2009  
Corey Fournier
Demonstrates how to parse objects in a PDF and inflate FlateDecode sections.
30 Jun 2004  
Taylor Wood
How to read changes from log files as they are written to. Similar to "tail" from UNIX.
19 Dec 2004  
Seato
An article on recursively counting lines of code in files from a given directory.
21 Sep 2009  
PIEBALDconsult
A line-by-line file diff utility
13 Jun 2012  
Shup
An article about methods to recursively list all files in a given directory.
4 Jun 2008  
Ashutosh Phoujdar
A small utility program that can help in visualizing the existing directory structure in terms of graphs.
22 Feb 2006  
Philipos Sakellaropoulos
An application to unzip multiple Zip files residing in a folder and subfolders. Demonstrates the use of the BackgroundWorker component.
28 May 2008  
LiYS
An article on the implementation and usage of a multi-threaded single/multi file copying tool.
4 Dec 2008  
interface Mirror
Use FileSystemWatcher in a practical scenario
14 Jan 2005  
Nitin Kunte
Enhanced file renaming utility to improve on the "ren" command provided by MS DOS.
19 Aug 2008  
nirvansk815
A custom listbox control to help visually manipulate data.
11 Apr 2004  
sergiols
Track all your files, locally, on CD-ROMs, and on removables.
10 Sep 2008  
Mayur Chauhan
An UI tool that can be used to zip and unzip a file.
28 Dec 2006  
Agus Kurniawan
Getting file version information using C# 2.0.
17 Oct 2008  
Riaan Lehmkuhl
TSVN Post-Update hook utility for using svn:externals with a space in the directory name.
9 Jul 2004  
Arunkumar Viswanathan
Very useful in running as a scheduled task to delete unwanted files accumulating in a directory
27 Jan 2008  
Ashwini K Singh
This tool is for the tester and developer to track any file system activity to a particular folder
6 Dec 2004  
eRRaTuM
A simple C#/.NET utility to split files (upto 2 GB) to parts.
27 Jul 2008  
Keith Rimington
Create a versatile line reading application using the .NET StreamReader and the DataGridView.
1 Aug 2007  
Jakub Mller
Helper class for building filter string for Windows file dialogs
19 Mar 2004  
Per R. Anderson
Console App in C# to rename files in a directory
14 Sep 2004  
vivekthangaswamy
Folder, drive, directory browser application.
19 Feb 2009  
rj45
Parsing C++ header and CPP files for class names and methods.
5 Feb 2012  
C Yang
Program to inventory directories and tally files.
30 Jun 2002  
leppie
FileFixLib is a small file utility to enable precise cutting, splitting and joining of files.
22 Nov 2006  
Chris Hambleton
A utility that substitutes file names from a file collection into a text template.
27 Aug 2007  
Reto Ravasio
A simple parser for VERSIONINFO resources contained in a DLL or EXE.
30 Sep 2008  
SurendraKishore
This program gets the list of softwares installed on Windows running machine
10 Oct 2006  
Daniel Grondin
A simple HTML and plain-text logger.
7 Jun 2007  
GC9N
An app to synchronize up to seven folders with System.IO.FileSystemWatcher in .NET.
15 Nov 2005  
John Jiyang Hou
This program can dump a file to the standard output in Windows.
27 Jul 2006  
B.Rajarajan
This is a very simple tool to edit Unix files in Windows.
4 Jun 2004  
BenDi
A simple tool for collecting files, written in C#, with shell32 support.
30 Oct 2009  
byapparov
An article on data validation with a flat file schema generated in Flat File Checker.
20 Mar 2012  
Jaxon7
Restoring UI Responsiveness FromContinuations (Asynch file IO)

Advertise | Privacy | Mobile
Web03 | 2.8.140705.1 | Last Updated 8 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid