1) Rename a file.<BR> Look up FileSystemObject on www.4guysfromrolla.com<BR>2) Read a specific line of a file.<BR> Read in the entire of the file (also using the FileSystemObject), split by vbCrLf, so that you have an array of lines. Then just use myLineArray(n), where n is the number of the line to read (zero-based).<BR><BR>Craig.
You should probably try and read in the file using objTextStream.Read(objFile.Size), if you can. Or at least the objTextStream.ReadLine() method. objTextStream.ReadAll is incredibly slow in comparison.<BR><BR>Craig.