thanks sorry about that..my goal is only to write a string only
then copy that file to the respective $Element and then do it again for the next $Element..I just want the code to find the PCAlias= line and place
the $Element on the line. I know that you know that but I am just resummarizing it. will give it a go! thank you

what do you mean about the read or right? then do I leave the <> ''
blank like that and then leave $Element in the write line?


Edited by itdaddy (2009-12-03 06:08 PM)
_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin