OK I see that copy is not in the path (for SYSTEM i guess?) since"%WINDIR%\system32\cmd.exe /c copy" works. Is there a way to add that to the path so I can avoid this for all the commands i want to use?
Thanks, Peter On 8/24/07, Peter Hartmann <[EMAIL PROTECTED]> wrote: > This works locally from command line but not from wpkg: > > copy /Y "\\server\wpkg\software\icons\icons\Internet Explorer.lnk" > "%ALLUSERSPROFILE%\Desktop" > > > in packages.xml > > <install cmd='copy /Y "\\server\wpkg\software\icons\Internet > Explorer.lnk" "%ALLUSERSPROFILE%\Desktop" ' /> > > > At first I thought it wasn't getting the %SOFTWARE% environment var. > so I removed it. Any ideas why I'm getting "the system cannot find > the file specified?" > > > Thanks, > Peter > > > ps > > In case you're wondering: my package gets rid of the IE shortcuts on > the desktop and quick launch for users and replaces them with IE > shortcuts that start Firefox instead. (in case they forget that > running IE is dangerous) > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users