This is the file I need to edit:
[STARTUP SECTION]
COM3, ON, 19200, DTR
MYID , ID
Mode , AUTO, , , Delete
STATUS, C:\Program Files\Axiohm\DLStatus.txt
PATH, C:\Program Files\Axiohm
DATA_FILE, C:\Program Files\axiohm\Counts.txt

This is the script that isn't working...

If Exist ("C:\Program Files\Axiohm\cfgDL01.txt") = 0
Quit
EndIf

$file="C:\Program Files\Axiohm\cfgDL01.txt"
$file2="C:\Program Files\Axiohm\cfgDL01.new"

If Open(1,$file)
EndIf

If Open(2,$file2,5)
EndIf

$line=ReadLine(1)
While (@error = 0)
Select
Case
$line="MYID , ID"
If (WriteLine(2,"MYID , " + %COMPUTERNAME%) <> 0)
EndIf
Case
$line="$line"
If (WriteLine(2, $line <>0)
EndIf
EndSelect
$line=ReadLine(1)
Loop
Close(1)
Close(2)