Baber Amin
asked on
modifying parameter file using command line
Hi,
Is there a way to modify a parameter file's parameter using command line? e.g. to add text to a parameter like below:
parameter=val1;val2;val3;
now to add new value as below
parameter=valnew;val1;val2 ;val3;
Is there a way to modify a parameter file's parameter using command line? e.g. to add text to a parameter like below:
parameter=val1;val2;val3;
now to add new value as below
parameter=valnew;val1;val2
ASKER
keep in mind file has many other parameters and I want to change only one
If you give examples, it would be easier to provide help.
keep in mind file has many other parameters and I want to change only one
ASKER
e.g.
parameter1=val1;val2;val3;
parameter2=abc
parameter3=xyz
parameter1=val1;val2;val3;
parameter2=abc
parameter3=xyz
I presume that's the existing, before values.
What's the new, after values?
Where are the new value coming from... another file?
What's the new, after values?
Where are the new value coming from... another file?
ASKER
Existing
=======
parameter1=val1;val2;val3;
parameter2=abc
parameter3=xyz
After
====
parameter1=val1;val2;val3; val4;
parameter2=abc
parameter3=xyz
Not from file. From anywhere.
=======
parameter1=val1;val2;val3;
parameter2=abc
parameter3=xyz
After
====
parameter1=val1;val2;val3;
parameter2=abc
parameter3=xyz
Not from file. From anywhere.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
Is it DOS command prompt code or Windows Powershell?
Is it DOS command prompt code or Windows Powershell?
DOS
Open in new window