ToddMalcolm wrote ::
> I am trying to write a batch file for use in WindowsXP Home Edition. The file
> will run from the Command Prompt and contains the xcopy command. I want to
> include in the file the line
> echo Do you want to continue? Y/N
> Which command recognises and responds to the Y or N keypress?
> I am told the INKEY command is not valid.
> Many thanks for any help.
set /p Var=Do you want to continue ? Y/N :
echo %Var%
Good Luck, Ayush.
--
XP-Tips [Set up XP so that only authorized people can use it] :
http://www.microsoft.com/windowsxp/u.../soleuser.mspx