views:

30

answers:

0

Hi

This is what i need.

Lets say there is a file temp.txt Lets say temp.txt has the following content :

name=@name
age=@age
email=@email

And my batch file create.bat should ask for the three parameters as input from the user, and then replace the temp.txt with the respective values.

Say.

Pls enter your name:Tom
Tom - Confirm Y/N: Y
<<now anywhere the temp.txt says @name, it is replace by Tom>>

Please help me write a script for this??

Thanks, Naveen.