powershell.exe -Command "& { ('time={0},user={1}' -f (get-date),(whoami)) | Out-File "d:\user.log" -Append }"

 

给.exe文件添加参数,参数是 array 格式

$argus = "$env:windir\", 'c:\jpegs\','*.jpg', '/R:0', '/S', '/XD', '*winsxs*'
Robocopy.exe $argus

相关文章:

  • 2022-12-23
  • 2021-08-25
  • 2021-12-22
  • 2021-04-21
  • 2022-12-23
  • 2021-08-26
  • 2021-11-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-28
  • 2021-09-20
  • 2021-07-31
  • 2021-06-16
  • 2021-08-26
相关资源
相似解决方案