ファイル(http)をダウンロードしてWindowsで実行する最短のコマンドを探しています。
コマンドを実行するユーザーはローカル管理者であり、Windowsでデフォルトで使用できないツールは使用できないと想定しています。
で動作する必要があります:Windows 7
およびWindows 2008
。誰かがWindowsXPとWindows2003でも動作するソリューションを提供した場合の追加の称賛。
理由:さまざまなWindowsマシンにデータを展開するためのものです。WMIまたはその他の方法を使用することはできません。これは、これらがデフォルトで有効になっておらず、マシンがドメインの外部にある可能性があるためです。これにより、特に問題がより複雑になります。
Note: If this cannot be done in a command line, a script will do. Let's assume that the file to be downloaded is located at "http://example.com/setup.exe" and that you want to run it with "-y" parameter after it is downloaded.