Query A File On Local PC and Update if Incorrect Version
Dear all,
I have a piece of software which I am rolling out via a Managed Software Install (DocsCorp Clean Docs). That is all working fine.
However I now have a requirement to update a configuration file on the local pc so I am wondering if I can query a file on the local pc using my K1000 and if the file is earlier than a certain date copy it over?
Kind regards
Simon
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
vjaneczko
8 years ago
We had a similar situation years ago with Oracle database configuration files. What we did was to leverage our login script. We copied the config file to a public area and in the login script we had an XCOPY command which would compare the timestamp of the file with the /D switch. If the source file was newer, it would get copied down to the local drive. An added benefit was that the DBA's were now in charge of distributing their own config file, and they left us alone :)
Posted by:
si1974
8 years ago