Applies To: Windows Vista,Windows Server 2008,Windows Server 2008 R2
All files in the job whose remote URL begins with OldPrefix are changed to use NewPrefix.
Syntax
Copy Code | |
|---|---|
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 http://stageserver to http://prodserver.
Copy Code | |
|---|---|
C:\>bitsadmin /ReplaceRemotePrefix myDownloadJob http://stageserver http://prodserver | |





