home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1992 / 02 / ansrget.bat next >
DOS Batch File  |  1991-12-31  |  414b  |  14 lines

  1. ECHO OFF
  2. CLS
  3. IF NOT %1.==. GOTO LOOP
  4. ECHO What is your answer?  Type it in on a single line with a RETURN
  5. ECHO Then press Ctrl-Z followed by the RETURN key
  6. COPY ANSSETEQ.DAT+CON+ANSRET.DAT ANSSETEQ.BAT > NUL
  7. ANSSETEQ.BAT
  8. :LOOP
  9. DEL ANSSETEQ.BAT
  10. ECHO Your answer was "%answer%".  I can use it and re-use it
  11. ECHO within this batch file -- see: "%answer%".
  12. ECHO Now I will clear your answer:
  13. SET answer=
  14.