Cognex Lib/C#

c# 파일 경로에서 파일명 추출하기

건실한청년 2017. 10. 26. 13:17

using System.IO;

 

string name = Path.GetFileName(@"D:\Log\20171026\1.txt");