Hi i feel stupid for asking but i cant find a script to put into a logon script that will copy a set of files to every client pc unless they already have them, but i need it so that it checks the date and time on the source file and only copies it to the client computer if it is newer or doesnt exist on the client pc at all, this was the closest thing i got but it doesn work!!! lol help please!
<%
dim filesys, demofile
set filesys = CreateObject ("Scripting.FileSystemObject")
set demofile = filesys.CreateTextFile ("c:\somefile.txt", false)
set demofile = filesys.GetFile("c:\somefile.txt")
demofile.Copy("c:\projects\someotherfile.txt")
%>
<%
dim filesys, demofile
set filesys = CreateObject ("Scripting.FileSystemObject")
set demofile = filesys.CreateTextFile ("c:\somefile.txt", false)
set demofile = filesys.GetFile("c:\somefile.txt")
demofile.Copy("c:\projects\someotherfile.txt")
%>