Hi, On 23.06.2010 22:21, trple.dra...@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 ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users