*[[Windows PowerShell:http://www.microsoft.com/powershell]] [#q8f27306] **Windows PowerShell とは [#p39685d9] Windows PowerShell はコマンドラインシェルまたはオブジェクト指向プログラミングが可能なスクリプト言語です. **ダウンロード [#o9ec2561] Windows 8 には Windows PowerShell 3.0 が標準搭載されています.~ Windows 7 には Windows PowerShell 2.0 が標準搭載されています.~ Windows 7 の場合は [スタート]-[すべてのプログラム]-[アクセサリ]-[Windows PowerShell]-[Windows PowerShell] で Windows PowerShell を起動できます.~ Windows Vista, XP で Windows PowerShell がインストールされていない場合は以下のページからダウンロードできます. -[[Windows PowerShell でのスクリプティング:http://technet.microsoft.com/ja-jp/scriptcenter/powershell.aspx]] -[[Scripting with Windows PowerShell:http://www.microsoft.com/powershell]] **Tab 補完 [#b02c3a08] Windows PowerShell では Tab でコマンドレットやファイル名などが補完できます.~ ただし Tab でファイル名を補完すると .\hoge.tex のように補完され platex .\hoge.tex とするとコンパイルできません. この場合は platex ".\hoge.tex".substring(2) または ls -n .\hoge.tex | platex または ".\hoge.tex" -replace ".\\" | platex または [System.IO.Path]::GetFileName(".\hoge.tex") | platex のようにすれば OK です. コマンド プロンプトでも Tab でファイル名を補完できるので cmd platex hoge.tex としたほうが簡単かもしれません. **パッケージ管理 [#l45cb315] ***chocolatey [#ofbc7592] -[[chocolatey:http://chocolatey.org/]] --[[packages:http://chocolatey.org/packages]] ---[[texlive:http://chocolatey.org/packages/texlive]] --[[wiki:https://github.com/chocolatey/chocolatey/wiki]] **関連リンク [#teb8e64f] -[[Windows PowerShell:http://technet.microsoft.com/ja-jp/library/bb978526.aspx]] --[[Windows PowerShell コア:http://technet.microsoft.com/ja-jp/library/bb978525.aspx]] ---[[Windows PowerShell Cmdlet のヘルプ トピック:http://technet.microsoft.com/ja-jp/library/dd347701.aspx]] -[[基礎知識 (Windows PowerShell):http://ufcpp.net/study/powershell/basic.html]] -[[GUIユーザーのためのPowerShell入門:http://news.mynavi.jp/column/powershell/]] -[[GREP and SED with PowerShell:http://blogs.msdn.com/b/zainnab/archive/2007/07/09/grep-and-sed-with-powershell.aspx]] -[[Windows PowerShellを便利に使うための10のミニテクニック:http://handasse.blogspot.com/2009/08/powershell10.html]] -[[DOSコマンドをPowershellから使う:http://mtgpowershell.blogspot.jp/2010/12/dospowershell.html]] -[[コマンドが存在するかしないかを判定して, 条件分岐する構文のまとめ:http://qiita.com/items/d63861293fd6bde1b0d8]] -[[.tex->.pdfにするのにコマンド2回たたくのが面倒だからまとめる:http://d.hatena.ne.jp/aldente39/20120609/1339213251]] --[[tex2pdf:https://gist.github.com/2899241]] -[[PowerShellの補完機能について質問いたします。:http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1189580021]] -[[PowerTab:http://powertab.codeplex.com/]] -[[PowerTab:https://bitbucket.org/rod/dotfiles/src/tip/WindowsPowerShell/Modules/PowerTab/]]