<br><div class="gmail_quote">On Wed, Jun 23, 2010 at 2:21 PM, <span dir="ltr"><<a href="mailto:trple.dragon@gmail.com">trple.dragon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Guys,<div><br></div><div>I have quick question I'm trying to copy some files from the WPKG(Server) to Local Machine its a virus database update ...</div><div><br></div><div>I guess there is something wrong with my syntax bc its not working ...</div>
<div>... <br></div></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div><install timeout="15" cmd="cmd copy %SOFTWARE%\WPKG\st\av\1.zz C:\Documents and Settings\All Users\.zg\cc /Y"/></div>
<br></div></blockquote><div><br>I would recommend using XCOPY.EXE in place of COPY like so:<br><br>cmd='xcopy.exe %SOFTWARE%\WPKG\st\av\1.zz "C:\Documents and Settings\All
Users\.zg\cc /Y"'/><br><br>Since XCOPY is an executable, you don't need to run it with CMD.EXE. If you want to use the COPY command, though, then you will want to do it like this:<br><br>CMD.EXE /C COPY "source\file.ext" "destination\directory"<br>
<br>Also note that I wrapped your destination path in double quotes since it includes spaces, and then I changed the outer quotes to singles.<br><br>Cheers,<br><br>Troy<br><br></div></div><br>