[wpkg-users] Copy CMD ....
Rainer Meier
r.meier at wpkg.org
Wed Jun 23 22:36:40 CEST 2010
Hi,
On 23.06.2010 22:21, trple.dragon at gmail.com wrote:
> I have quick question I'm trying to copy some files from the
> WPKG(Server) to Local Machine its a virus database update ...
>
> I guess there is something wrong with my syntax bc its not working ...
Let's see.
> <?xml version="1.0" encoding="UTF-8"?>
>
> <packages>
>
> <package id="VD" name="Virus DB Update" revision="1" priority="0"
> execute="always">
> <install timeout="15" cmd="cmd copy
> %SOFTWARE%\WPKG\st\av\1.zz C:\Documents and Settings\All Users\.zg\cc /Y"/>
> </package>
>
>
> </packages>
>
> Could please someone take a look at the this and point me in right
> direction ?
I think your quoting is wrong. Your target directory contains spaces but you do
not quote the target directory argument. Try the following <install /> definition:
<install timeout="15" cmd='%COMSPEC% /c copy "%SOFTWARE%\WPKG\st\av\1.zz"
"C:\Documents and Settings\All Users\.zg\cc" /Y'/>
Maybe you can use %ALLUSERSPROFILE% instead of "C:\Documents and Settings\All
Users" as well.
br,
Rainer
More information about the wpkg-users
mailing list