【发布时间】:2018-11-10 06:58:45
【问题描述】:
我有一个目录,其中包含许多已命名的文本文件:
1Customer.txt
2Customer.txt
...
99Customer.txt
我正在尝试创建将文件重命名为更合乎逻辑的 powershell 脚本:
Customer1.txt
Customer2.txt
...
Customer99.txt
前缀可以是 1 位到 3 位之间的任何值。
由于我是 powershell 新手,我真的不知道如何实现这一点。非常感谢任何帮助。
【问题讨论】:
标签: powershell