|
Hello, I'm trying to do the same thing. I need only one shortcut added to the users desktop. My code is below but I can't get it to work. Does this look right to you? I'm a NewB and using a logon batch file to start Kix. Below is my logon.bat incase that's wrong too.
Logon.bat @ECHO OFF %0\..\Kix32.exe
Kix Code: If NOT @LOGONMODE Break On Else Break Off EndIf Dim $RC $RC=SetOption("Explicit", "On") $RC=SetOption("NoMacrosInStrings", "On") $RC=SetOption("NoVarsInStrings", "On") $RC=SetOption("WrapAtEOL", "On")
Dim $Desktop $Desktop = ReadValue("HKCU\Software\Microsoft\Windows\Currentversion\Explorer\User Shell Folders","Desktop") Copy "\\cfg\Support\Shortcuts\Gibbs on charlie.lnk" $Desktop + "\Gibbs.lnk" ; If InGroup("SpecificGroup") ; Copy "\\$server2\shortcuts\pmworx.exe.lnk" $Desktop + "\PMWORX.lnk" EndIf
|