bitsadmin replaceremoteprefix

Changes the remote URL for all files in the job from oldprefix to newprefix, as necessary.

Syntax

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

Parameters

Parameter Description
job The job's display name or GUID.
oldprefix Existing URL prefix.
newprefix New URL prefix.

Examples

To change the remote URL for all files in job named myDownloadJob, from http://stageserver to http://prodserver.

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

Additional information