Dear,We have already answer your email. Following text has been returned:
A quick look at your script
code:
$fil = "localpolicy.inf"
$src = "\\F103003\netlogon"
$dst = WRITEVALUE ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit", "TemplateUsed",
"\\f103003\netlogon\localpolicy.inf", "REG_SZ") $dstsize = GETFILESIZE ("$Dst\$Fil")
$dsttime = GETFILETIME ("$Dst\$Fil")
$srcsize = GETFILESIZE ("$Src\$Fil")
$srctime = GETFILETIME ("$Src\$Fil")
IF EXIST ("$Dst\$Fil") = 0 ; REM ** File not found on client
COPY "$Src\$Fil" "$Dst\$Fil"
IF (@error = 0)
? "Success copying file to client"
ELSE
? "Error @ERROR copying file (@SERROR)"
ENDIF
ELSE
IF ($srcsize <> $dstsize) OR ($srctime <> $dsttime)
COPY "$Src\$Fil" "$Dst\$Fil"
IF (@error = 0)
? "Success copying file to client"
ELSE
? "Error @ERROR copying file (@SERROR)"
ENDIF
ELSE
? "Verified file already exists on client"
ENDIF
ENDIF
shows possible problem with the $dest. WriteValue will assign a number and not a filename to variable $dest.
Possible that it should be a ReadValue call.
F.e. specifies the actual destination for your testsystem and rerun your procedure for activating the localplociy.inf. Still problems - possible a real ScriptLogic problem - we advice you to publish this problem on one of the forums of http://www.scriptlogic.com site also. Normally anything should be possible with ScriptLogic. We advice you to include the
"localpolicy.inf" contents too. Also specifies special configuration settings for your ScriptLogic program.
Please let us know the results.
greetings.
btw: we doesn't download your pictures. too much bytes for downloading. advice: send only compressed BMPs.