$handler_installationfolderlocalinstall_Click = {
$SelectFolder.ShowDialog() | Out-Null
Write-Host "You selected $SelectFolder $($SelectFolder.SelectedPath)" -ForegroundColor Yellow
$textboxinstallfolderlocal.Text = $SelectFolder.FileName
}
I want to display the folder name in a textbox with "FileName" but it doesn't work. Which extension is for folder? or How can I display it?
The path of the folder should be in the textbox as in the lower textbox with the file, but because it is a folder .FileName does not work.
Thank you for your answers