Clayton,

as we have specific members here that really get allergical shocks if I just mention 'goto' I'd like to advise you to do the following :


Break on
Call "@SCRIPTDIR\udf.kix"

Use F: "\\clwprime01\sys"
Use I: "\\clwprime01\apps"
Use M: "\\clwprime01\data"
Use G: "\\clwprime01\aty"
Use H: "\\clwprime01\vol1"
Use J: "\\clwprime01\vol1"
Use S: "\\clwprime01\share"
Use V: "\\clwprime01\users"
Use U: '\\clwprime01\'+@USERID+'$$'

If not exist('U:\TEMPLATES\')
MD U:\Templates
EndIf

If @inwin = 1
Copy '%appdata%\MICROSOFT\TEMPLATES\*.*' 'U:\Templates'
Else
Copy 'C:\WINDOWS\Application Data\MICROSOFT\TEMPLATES\*.*' 'U:\Templates'
EndIf

Run "\\clwprime01\scan\scan32.exe"
$_ = SetTime( "\\clwbinary1" )

Exit 1


Don't hesitate to ask if you have more questions...

hope this helps
_________________________