script

powershell - Write-Progress

#.\zipcode\test.data .\data $inputFilePath = $args[0]; $outputDirPath = $args[1]; $lines = Get-Content $inputFilePath -Encoding String for($i=0; $i -lt $lines.Length; $i++){ $p = [int](($i / $lines.Length) * 100); Write-Progress -Activity …

PowerWhellのスクリプトからPowerWhellのスクリプトを実行

概要 PowerShellのスクリプトから他のPowerShellのスクリプトを呼び出します。 スクリプト # - pstest1.ps1 - ./pstest2.ps1 c:\tmp\log\ c:\tmp\output\ chasen.exe . .\pstest3.ps1 ExecuteCommandToFile chasen.exe c:\tmp\log\ c:\tmp\output\ # - pstes…

powershell→バッチファイル→perlスクリプトの呼び出し

[改訂新版]Windowsコマンドプロンプトポケットリファレンス作者: 山近慶一出版社/メーカー: 技術評論社発売日: 2016/03/04メディア: 単行本(ソフトカバー)この商品を含むブログ (2件) を見る スクリプトの呼び出し test.ps1 -test.ps1- for($i=0;$i -lt 5;…

バッチファイル-指定フォルダ内のファイル一覧を取得

シェルプログラミング実用テクニック (Software Design plus)作者: 上田隆一,USP研究所出版社/メーカー: 技術評論社発売日: 2015/05/15メディア: 大型本この商品を含むブログ (8件) を見る 指定フォルダ内のファイル一覧を取得 @echo off echo start for /r …

Windows PowerShell関連

参考サイト Windows PowerShell でのスクリプティング Windows PowerShell 入門 Windows PowerShell 活用編 IT 技術 なんでも徹底研究 - Windows PowerShell PowerShell基礎文法最速マスター Windows PowerShell ツール PowerGUI