With the help of experts on this forum, I'm putting together a script that reads a configuration file and copies lines from it for use in another file. The file includes lines like this: FONT = CONSOLA rem LINS = 25 etc. I've written a script to extract those lines that aren't REMmed out at the start, and I wonder if there's a more efficient way to accomplish the assignment of variables that you'll see in a long list near the end of the script: $vdosroot = "f:\user