Folder Context is a Windows utility that visualizes directory structures and concatenates selected files into a single output file.
It is designed for quickly exploring folders and exporting their contents in a clean, readable format.
The application loads the directory tree eagerly, so very large directories may take longer to process.
- Export directory tree
- Concatenate selected files
- Dark and light themes
- Show or hide hidden files
- File and folder exclusion rules
- Configurable tree indentation
- Async operations with progress reporting
FolderContext
├── FolderContext
│ ├── Source
│ │ ├── Core
│ │ │ ├── Exclusions.cs
│ │ │ ├── ExplorerNode.cs
│ │ │ ├── ExplorerNodeFlags.cs
│ │ │ ├── FileInfoExtensions.cs
│ │ │ ├── FileNode.cs
│ │ │ ├── FileStatus.cs
│ │ │ ├── FileStatusException.cs
│ │ │ ├── FileStreamExtensions.cs
│ │ │ ├── FolderNode.cs
│ │ │ └── TreeRenderer.cs
│ │ └── Settings
│ │ ├── AppSettings.cs
│ │ └── SettingsManager.cs
│ └── Program.cs
├── FolderContext.slnx
└── LICENSE
==================================================
/FolderContext/Source/Settings/AppSettings.cs
==================================================
namespace FolderContext.Source.Settings
{
internal sealed class AppSettings
{
public bool DarkTheme { get; set; } = true;
public bool HiddenFiles { get; set; } = false;
public int IndentSize { get; set; } = 4;
public string[] ExclusionsList { get; set; } = [];
}
}
==================================================
/FolderContext/Program.cs
==================================================
namespace FolderContext
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new MainForm());
}
}
}
==================================================
/FolderContext.slnx
==================================================
<Solution>
<Project Path="FolderContext/FolderContext.csproj" />
</Solution>
See the full example: concat-output.txt
No installation required.
- Download the latest release from the Releases page.
- Extract the downloaded archive.
- Run
FolderContext.exe.
- Open a folder.
- Select the files or folders you want to process.
- Configure the available options if needed.
- Choose the desired operation:
- Save Tree to export the folder structure.
- Concat Files to merge the selected files into a single output file.
- Choose a destination and save the result.
Created by scrnr
- GitHub: https://github.com/scrnr
This project is licensed under the MIT License. See the LICENSE file for more details.
