次の方法で共有


bitsadmin replaceremoteprefix

ジョブ内のすべてのファイルのリモート URL を、必要に応じて oldprefix から newprefix 変更します。

構文

bitsadmin /replaceremoteprefix <job> <oldprefix> <newprefix>

パラメーター

パラメーター 説明
仕事 ジョブの表示名または GUID。
古いプレフィックス 既存の URL プレフィックス。
新しいプレフィックス 新しい URL プレフィックス。

例示

myDownloadJob という名前のジョブ内のすべてのファイルのリモート URL変更するには、http://stageserver から http://prodserverに変更します。

bitsadmin /replaceremoteprefix myDownloadJob http://stageserver http://prodserver

追加情報