/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Vbscript to Compare 2 files which has TNS names and append only the new entry

09/07/2017 642 views

Hi, i need a VBscript to compare 2 files (source and destination files)  and append the non existing entry in the destination folder. 

source - which has TNSnames.ora in a particular location and the destination file which has TNSnames.ora. in the local machine. compare both and append the new or non existing entry in the destination folder

0 Comments   [ + ] Show comments

Comments


All Answers

0

Wow! A script like that would take so much work in order to operate properly, i.e. with decent error-trapping, that it would become a project in its own right!

Why not go the simplest route: host TNSNAMES.ORA on a server share and point clients at that copy? Apart from any other consideration, you massively reduce the administrative nightmare of maintaining the reference copy and keeping the remote ones up-to-date.

Answered 09/07/2017 by: VBScab
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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