gorby
(RPA Ninja)
1
こんにちは
UiPath Studio 2025.0.176STS Community editionのユーザーです。
指定フォルダに下記3個の画像ファイルがあり、
C:\XXX\INPUT\pear.png
C:\XXX\INPUT\apple.png
C:\XXX\INPUT\banana.png
下記のコードで画像のファイルパスをリスト変数lis_Pathに取得します。
lis_Path=System.IO.Directory.GetFiles(str_InputFolderPath).ToList()
リスト変数lis_Pathを画像ファイル名でソートするにはどうすれば良いでしょうか?
Namaste @gorby try this in assign activity
list_Path = lis_Path.OrderBy(Function(f) System.IO.Path.GetFileName(f)).ToList()
gorby
(RPA Ninja)
3
Cheers to your Lord Rama who brings light against the dark
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.