必要に応じて、ジョブ内のすべてのファイルのリモート URL を oldprefix から newprefix に変更します。
Syntax
bitsadmin /replaceremoteprefix <job> <oldprefix> <newprefix>
Parameters
| Parameter | Description |
|---|---|
| ジョブ | ジョブの表示名または GUID。 |
| oldprefix | 既存の URL プレフィックス。 |
| newprefix | 新しい URL プレフィックス。 |
Examples
myDownloadJob という名前のジョブ内のすべてのファイルのリモート URL を http://stageserver から http://prodserver に変更するには。
bitsadmin /replaceremoteprefix myDownloadJob http://stageserver http://prodserver