Redirect information to specific place in file -
i need able redirect information top row of file, possible or need solve problem in way?
this should trick use temp file, write info, append previous logfile , rename tempfile overwrite previous 1
echo %yourinfo%> c:\temp\temp.txt type c:\temp\logfile.txt >> c:\temp\temp.txt ren c:\temp\temp.txt c:\temp\logfile.txt
Comments
Post a Comment