@ECHO OFF :: Obtaining user input in Windows NT :: with the use of the FORMAT command :: posted August 20,1999 :: Author: Walter Zackery :: Adapted by Rob van der Woude :: (no longer uses temporary file) :: http://www.robvanderwoude.com SET INPUT= CLS ECHO\ ECHO Enter your input string and press ENTER when done. ECHO\ FOR /F "tokens=5* delims= " %%A IN ('FORMAT /F:160 A: ^| FIND "..."') DO SET INPUT=%%B SET INPUT