CompuMaster.IO.Directory

Package Description


Keywords
CompuMaster, Common, Utils, IO, Directory, 8.3, Windows, Linux, Unix, FileSystem
License
MIT
Install
Install-Package CompuMaster.IO.Directory -Version 2021.7.18.100

Documentation

CompuMaster.IO.Directory

Provides missing features for filtering files by their full name (instead of default windows behaviour with compatibility for short file names with 8.3-limitations)

Github Release NuGet CompuMaster.IO.Directory

Some background on directory listings with Microsoft Windows

By default, Microsoft Windows (so the .NET framework, too) find files which match to your search pattern with their full names as well as their short names. These search filters the files again, so the result is that you'll receive only those results which are valid with their full name.

Sample

Given are the files abc.doc and abc.docx. Searching for *.doc with default windows/.NET behaviour will find both files because the file abc.docx is represented in 8.3-style with abc~1.doc. Using the methods in this class will reduce this result to the correct result with only abc.doc.