in reply to Problem Opening File

open (OUT, ">D:\\$name_parse[0].scr");

Note double backslash inside of doublequoted string