2

ワイルドカードを含むフルパスがある場合、LastWriteTime が最も古いファイルを取得するにはどうすればよいですか?

$fullpath = "myFolder:\foooBar*.txt"
$theOldestFile = # What to write to get among the 
                 #fooBar*.txt that has the max LastWriteTime?
4

1 に答える 1