I'm one step further...
I created this:

Open (1, "d:\scripts\pcchange.log") = 0

While @ERROR = 0
$PCNAME = ReadLine(1)
? $PCNAME
?"connecting to $PCNAME...."
Shell '%Comspec% /e:1024 /c "net use \\$pcname /user:blabla"'
Sleep 2
---command to delete value from pcchange.log---
If $PCNAME=""
GoTo CloseIT
EndIf
Loop

:CloseIT
$ = Close (1)
GoTo End

:End
? "End of inputscript"

This works...what do I need to do to get the script to delete the $PCNAME from the pcchange.log?