Dear,

Did you run also the second script?
Did you find back anywhere those icons copied?
When you are running above XCOPY commands from a DOS, what do you see?

We have modify the first script. First it will open a DOS box so you can read possible
messages during the copy operation. Secondly it will wait for your key-press before
continuing, so you have enough time to read it.
See you know some error/warning messages?
code:
$=SETCONSOLE("maximize")
;
:AddCommonApps
;*************
;
; Copy Common apps to desktop and start menu
if "$Verbose" = "Yes"
? "Add common applications"
endif
;
; Add common program shortcuts to user's desktop
$cmd='xcopy "$FIAApps\Common\*.lnk" "$Desktop_Folder" /F'
? "cmd (desktop_folder) "+$cmd
shell '%comspec% /c '+$cmd
sleep 5
;
; Add Start Menu\Programs\Common folder and add common program shortcuts
$cmd='xcopy "$FIAApps\Common\*.lnk" "$Programs_Folder" /F'
? "cmd (program_folder) "+$cmd
shell '%comspec% /c '+$cmd
sleep 5
;
; Add Start Menu\Programs\Accessories folder and add accessory program shortcuts
$cmd='xcopy "$FIAApps\Accessories\*.lnk" "$Programs_Folder\Accessories" /F'
? "cmd (accessories) "+$cmd
shell '%comspec% /c '+$cmd
sleep 5
;
; Copy common startup programs to user's startup folder
$cmd='xcopy "$FIAApps\Common\Startup" "$Programs_Folder\Startup" /F'
? "cmd (startup) "+$cmd
shell '%comspec% /c '+$cmd
sleep 5
;
? "Press any key to continue
GET $
return

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA