download by batch

download by batch

Postby marascon » 25.10.2011, 14:30

Hey people,

I have a question about my Wsus CMD batch, i want it to Download and write the update files to "c:\update" automaticly through a cmd batch

i use the following cmd batch
Code: Select all
@echo off
title Download Updates
REM 1. Parameter = w2k wxp w2k3 w2k3-x64 oxp o2k3 o2k7 o2k7-x64
REM          w60 w60-x64 w61 w61-x64
REM 2. Parameter = enu nld
REM          glb
REM 3. Parameter = /includedesp /excludestatics /includedotnet /includemsse /nocleanup /verify /exitonerror /skipmkisofs /proxy /wsus
cd /D cmd
call DownloadUpdates.cmd wxp enu
call DownloadUpdates.cmd w2k enu
call DownloadUpdates.cmd w60 enu
exit


IS there a way to manage this?
marascon
 

Re: download by batch

Postby WSUSUpdateAdmin » 25.10.2011, 21:41

Hi and welcome, marascon,

pls. see viewtopic.php?f=7&t=120.

RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: download by batch

Postby marascon » 26.10.2011, 06:34

Thanks for the reply,

I Dont rly see there how i can manage to find there how i can write te files to a specified path.
marascon
 

Re: download by batch

Postby WSUSUpdateAdmin » 26.10.2011, 14:45

You can't specify the repository's path; it's always under ...\client.
You may copy platform specific parts of your repository using CopyToTarget.cmd.
RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: download by batch

Postby marascon » 26.10.2011, 15:32

WSUSUpdateAdmin wrote:You can't specify the repository's path; it's always under ...\client.
You may copy platform specific parts of your repository using CopyToTarget.cmd.
RTW

Okay thanks this is quite clear, altough i have another question then :)
Is it possible to edit ....\client to somthing like \update??

without wsus failing?

and is there rly no way to call the copy to usb function by batch?
marascon
 

Re: download by batch

Postby WSUSUpdateAdmin » 26.10.2011, 15:43

marascon wrote:Is it possible to edit ....\client to somthing like \update??

No. Why?

marascon wrote:and is there rly no way to call the copy to usb function by batch?

Of course you can call CopyToTarget.cmd from another batch. Why not?

RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Download

Who is online

Users browsing this forum: No registered users and 49 guests