auone

freac

Jun 5th, 2020
1,045
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # パラメータ
  2. $freac = 'C:\prog\freac\freaccmd.exe'
  3. $OutputDir = 'C:\var\work'
  4. $AacItem = Get-Item 'C:\var\work\music.m4a'
  5. # 例1
  6. Start-Process 'cmd.exe' -ArgumentList ('/c',$freac,'-e','sndfile-wave','-d',$OutputDir,$AacItem.FullName) -Wait
  7. # 例2
  8. Start-Process $freac -ArgumentList ('-e','sndfile-wave','-d',$OutputDir,$AacItem.FullName) -Wait
  9. # 例3
  10. Start-Process 'cmd.exe' -ArgumentList ('/c',$freac,'-e','sndfile-wave','-d',$OutputDir,$AacItem.FullName) -Wait -NoNewWindow
  11. # 例4
  12. Start-Process $freac -ArgumentList ('-e','sndfile-wave','-d',$OutputDir,$AacItem.FullName) -Wait -NoNewWindow
RAW Paste Data