Adding information to a config file and smart counting
Posted: 13 Dec 2009 03:37
Hi,
I am looking for a batch file that reads the last line of a configfile with the following info:
name001=pc12300
name002=pc10000
name003=pc14000
Now when the batch file is run from pc13033, the following line should be added to the last line of a config file:
name004=pc13033
%computername% already gives the computername of the pc.
Is this possible?
Anyone wants to help me out?
Thanx in advance.
I am looking for a batch file that reads the last line of a configfile with the following info:
name001=pc12300
name002=pc10000
name003=pc14000
Now when the batch file is run from pc13033, the following line should be added to the last line of a config file:
name004=pc13033
%computername% already gives the computername of the pc.
Is this possible?
Anyone wants to help me out?
Thanx in advance.