Hi,
Could you guys help me make a batch file which will replace an entry in the text file - coming from an environment variable?
Basically it'll just replace the username and password. This is an excerpt of the file:
--------------------
line 1
line 2
<user username="USER" password="pass00"/>
line 4
...
--------------------
and it will replace the word "USER" and "pass00" with the Windows environment variable %username%
Can anybody here help me?
Thank you!
Could you guys help me make a batch file which will replace an entry in the text file - coming from an environment variable?
Basically it'll just replace the username and password. This is an excerpt of the file:
--------------------
line 1
line 2
<user username="USER" password="pass00"/>
line 4
...
--------------------
and it will replace the word "USER" and "pass00" with the Windows environment variable %username%
Can anybody here help me?
Thank you!