Subj : Re: Script that switches out text on certain lines To : All From : Jonathan de Boyne Pollard Date : Wed Mar 06 2002 02:15 am From: Jonathan de Boyne Pollard BJ> The input from me should alter the line in the unattend.txt BJ> file [...] where says BJ> COMPUTERNAME= This much is easy to do with 4DOS, the command interpreter for DOS, because 4DOS has a built in INPUT command: SET COMPUTERNAME=DefaultComputerName INPUT /E "What computer name would you like, Bj”rn?" %%COMPUTERNAME ECHO COMPUTERNAME=%COMPUTERNAME% >> UNATTEND.TXT ( The initial SET command and the /E option to INPUT are there merely to make things a little prettier. ) BJ> Of course it should replace an old computer name if there is one in the file. This is more difficult, without resorting to using a Unix style command interpreter, and I note that none of the other replies posted have satisfied this requirement, either. (-: --- BBBS/NT v4.01 Flag-2 * Origin: Mach2 Systems (1:342/3) .