C_Sharp/File IO 관련 모음
1. 실행 파일 이름 #
D:\MyWorkspace\some_prj\bin\Debug\some_prj.exe
2. FullName -> 파일 이름 추출 #
D:\MyWorkspace\some_prj\bin\Debug\some_prj.exe -> some_prj.exe
* Path., Directory. 에 어지간한 건 다 있다.
3. 유효한 파일 이름 Check #
InvalidPathChars - char[32] = <, >, *, ...
4. 파일 이름 검색 #
- 모든 포함 폴더를 검색
- wild card 가능
result - FileInfo[]