Skip to content

This script takes specific files from a directory and puts them in a list

Notifications You must be signed in to change notification settings

FossilHunt/ListDirFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‚οΈ ListDirFiles

A simple C# console app to scan a directory and list all files of certain types (Word, PDF, PowerPoint, CSV).


πŸ” Features

  • Searches a specified directory and all subdirectories
  • Counts and lists files by type:
    • .docx β†’ Word Documents
    • .pdf β†’ PDF Files
    • .pptx β†’ PowerPoint Files
    • .csv β†’ CSV Files
  • Handles errors gracefully:
    • Access denied (UnauthorizedAccessException)
    • Other unexpected errors
  • Easy to customize: add/remove file types or change the search folder

About

This script takes specific files from a directory and puts them in a list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages