Hi,@JunYoungLee . Welcome Microsoft Q&A.
You could try to see if the content here is what you want.
var folderPath = new ZlpDirectoryInfo( @"C:\My\Long\Folder\Path" );
foreach ( var filePath in folderPath.GetFiles() )
{
Console.Write( "File {0} has a size of {1}",
filePath.FullName,
filePath.Length );
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our [documentation][5] to enable e-mail notifications if you want to receive the related email notification for this thread.
[5]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html