|
Answer» I have composed a batch file. When you double click on it, a COMMAND window prompts up displaying "Your name:"
Now I want the users type their names in the same line, looking like [highlight]Your name: ANDREW[/highlight], but my implementation looks like: [highlight]Your name: Andrew[/highlight] The users typed their names in the next line, which is not what I what.
After typing name and PRESS enter, the user's name should be redirected to a text file. How can I do it? Thanks a lot! Try this
Code: [Select]Set /P MyName=Your name: > AnyFile %MyName%
GrahamGreat!!! It DOES work! This is exactly what I want! HEAPS of thanks, Graham.
|