/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Query A File On Local PC and Update if Incorrect Version

04/22/2016 706 views

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

Comments


All Answers

0
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  :)
Answered 04/22/2016 by: vjaneczko
9th Degree Black Belt

0

Thank you for your reply and what you did.  May be I go that way.  It is only a short term thing really as we will be pushing out a new image in the next 6 months of which the file will be part of the image.

Thank you once again

Best wishes

Simon

Answered 04/25/2016 by: si1974
Orange Senior Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ