Sha*_*din 3 powershell
我必须使用powershell获取并显示特定的文件名.
假设在特定位置有5个文件,我需要显示每个文件名.
Mar*_*ndl 5
您正在寻找Get-ChildItem cmdlet.要获取文件名,只需选择BaseName属性:
BaseName
Get-ChildItem 'yourPath' | select BaseName
归档时间:
9 年,7 月 前
查看次数:
3503 次
最近记录: