hi,
i want to get the value of any command which i run using cmd in a properties file as a key and value rather then getting it in text file
for example - hostname>output.txt [not good], i want it to be like hostname>output.properties with a key and its value as output.
command - `hostname`
output - userpc
but i want the same output in a properties file like
xyzkey=userpc in sample.properties file.
it would be a great help.
thanks
sid