Im looking for a simple login script that will copy one file from a unc share on a server to the users local program files directory based on the date and time stamp...
If the file in the share is newer than the one located in the users program files folder than the file is copied over...if it is the same date than the copy command is ignored.
Something like the code below works put i dont know how to do based on checking the date and time stamp.
Thanks for your advice :)
If exist \\server\share\file.txt goto copy
copy \\server\share\file.txt "c:\program files\vendor\app\file.txt"