Populating the Values stored in one file and using them in other file -



Populating the Values stored in one file and using them in other file -

i have 2 variables in mutual 20 batch files, want store these 2 variables 1 file , populate them batch files whichever uses these 2 variables. can 1 please assist me code this.

requirement :

variables stored in 1 file:

dbname:prod region:abc

now these 2 variables needs picked here , populated other batch files used.

consider changing format: store lines in form of variable assignment commands, i.e. batch file:

set dbname=prod set region=abc

that way able call batch file other batch file needs variables. assuming above saved myvars.bat, go this:

... phone call myvars.bat :: proceed using variables ...

batch-file

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

r - url in CRAN extension manual -

asp.net - .NET Control.ID property inconsistency -