Working With The File System in C# - Managing Folders and Files
YouTube Viewers YouTube Viewers
412K subscribers
171,497 views
0

 Published On Nov 26, 2018

Full courses: https://www.iamtimcorey.com/
Blog Post*: https://www.iamtimcorey.com/blog/2075...
Patreon:   / iamtimcorey  
Newsletter signup: https://signup.iamtimcorey.com/
(*) source code download is no longer available.

C# can be a really powerful tool for working with the file system. It can automate file tasks including backup creation, organizing files, monitoring file info, and more. In this video, we are going to get started working with files and directories.

0:00 - Intro
0:42 - creating a demo console application
3:15 - reading all directories in the path specified
7:29 - reading all files in the path specified (directories included)
9:43 - reading all files (directories excluded), omitting file extensions, getting file path only
12:09 - information about the file
15:10 - automation with c# - manipulating file systems and files.
16:21 - verify if directory exists
18:42 - creating a new directory
21:34 - copying files
28:28 - moving files
29:40 - utilize - create your own utility apps

show more

Share/Embed