A라는 변수(변수명은 상관 없다)에 배열이나 리스트를 System.FileInfo 형식으로 선언한다.
A = New DirectoryInfo(경로명).GetFiles().OrderByDescending(Function(eachFile) eachFile.LastWriteTime).ToArray()
위 처럼 하면 된다.
'IT > UiPath' 카테고리의 다른 글
UiPath에서 코드로 캡쳐 만들기 (0) | 2023.12.31 |
---|---|
Modern Excel 읽을 때 데이터 테이블이 A1에 있지 않을 때.. (0) | 2023.11.23 |
datatable에 빈 행(row)들이 있을때 제거 방법 (0) | 2023.11.16 |
Invoke Power shell로 kill process처럼 사용하기 (0) | 2023.11.10 |
DataTable 컬럼명으로 컬럼 번호 찾는 방법 (0) | 2023.11.02 |