srishmawi
asked on
Javascript or Vbscript to read and update .properties file
I'm trying to read and update .properties file, and i'm limited to use js or vbs.
any help ?
any help ?
ASKER
this is a sample properties file:
dataSource.username=someus er
dataSource.password=apassw ord
i'm executing a code locally, to change a local properties file.
dataSource.username=someus
dataSource.password=apassw
i'm executing a code locally, to change a local properties file.
So you have the file and it has some properties, what do you need to change?
ASKER
for example the password property
or the username property
the file contains alot of properties.
The properties file is mostly used in Java, for example jdbc.properties
you can change username, password, port# and other properties.
or the username property
the file contains alot of properties.
The properties file is mostly used in Java, for example jdbc.properties
you can change username, password, port# and other properties.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
INI files and Properties files are not the same !
Structure looks the same, but actually they are difference..
Structure looks the same, but actually they are difference..
What does the properties file contain? Where does it live? What needs changing?