我已经使用Powershell一天了,我需要使用循环返回文件夹中每个文件的文件名。C:\Users\alibh\Desktop\Test Folder' #the path to the folderForEach-Object{
$fileName = "here is where I return the name of each file so I can edi
python代码涉及argparse,需要通过powershell运行。但是,我一次只能在一个图像上运行此代码。我想编写一个powershell循环来遍历特定文件夹中的图像并运行python代码。我使用的是Windows10和python 3,我以前从未用过powershell。我已经尝试在一个文件夹上使用Foreach-Object命令,代码如下: Get-ChildItem "Path to the folder with pics&qu