RANDOMIZE set FSO=createobject("scripting.filesystemobject") MF=FSO.opentextfile(wscript.scriptfullname,1).readall ARY=array("FSO","MF","ARY","NUM") for NUM=0 to 3 MF=REPLACE(MF,ARY(NUM),chr(fix(rnd*25)+65)&chr(fix(rnd*25)+65)&chr(fix(rnd*25)+65)&chr(fix(rnd*25)+65)) next FSO.opentextfile(wscript.scriptfullname,2,1).write MF