Freigeben über


Bitsadmin /replaceremoteprefix

 

Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

All files in the job whose remote URL begins with OldPrefix are changed to use NewPrefix.

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

The following example changes all files in job named myDownloadJob whose remote URL begins with https://stageserver to https://prodserver.

C:\>bitsadmin /ReplaceRemotePrefix myDownloadJob https://stageserver https://prodserver

Additional information

Command-Line Syntax Key