atx.pas 213 B

123456789101112131415
  1. program atx;
  2. var f:text;
  3. s:string;
  4. begin
  5. assign(f,'c:\autoexec.bat');
  6. reset(f);
  7. while not eof(f) do
  8. begin
  9. readln(f,s);
  10. writeln(s);
  11. end;
  12. close(f);
  13. end.