> From: [email protected]> To: [email protected]> Date: Thu, 5 
> Feb 2009 11:56:39 +0100> Subject: Re: [wpkg-users] Copying a shortcut from a 
> network share to desktop?> > Chris Wilcox wrote:> <package 
> id="CH4EnvChangeShortcut" name="CH4 Environmental Change Shortcut" 
> revision="1" reboot="false" priority="0">> <install cmd='net use x: 
> \\10.251.193.3\MMedia\Shortcuts'<file://10.251.193.3/MMedia/Shortcuts'> />> 
> <install cmd='copy "x:\CH4 Environmental Change.lnk" "C:\Documents and 
> Settings\All Users\Desktop"' />> <install cmd='net use x: /delete /yes' />> 
> </package>> > The shortcut definetly exists and is named as above.> > ---> > 
> Chris,> I would place all into one batch file and execute this, if you do not 
> want this you need to precede any DOS command with "CMD.EXE /C", since DOS 
> commands are not executables.> > <install cmd='cmd.exe /c copy "x:\CH4 
> Environmental Change.lnk" "%ALLUSERSPROFILE%\Desktop"' />> Notice that I used 
> the ALLUSERSPROFILE DOS environment variable to make things work on any 
> configuration.
 
Quite a few bits of advice there, many thanks to all replies!
 
Chris
_________________________________________________________________
Windows Live Messenger just got better .Video display pics, contact updates & 
more.
http://www.download.live.com/messenger
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to