Need Help For A DOS Start-Up Program

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Aliquisquiludos
Posts: 1
Joined: 26 Nov 2014 01:48

Need Help For A DOS Start-Up Program

#1 Post by Aliquisquiludos » 26 Nov 2014 01:56

Hello, I am trying to make a program for my computer that will ask the user for input, then store that input in another file. (Or store It Somewhere I Can See Later). Is this possible? Also I am trying to make the program run at start-up of my computer account.

If anyone can answer these questions for me, and/or tell me how its done I would appreciate it:

- How can I ask a user for input using a prompt?
- Can I store their input in a file or somewhere I can see it later? If so how?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Need Help For A DOS Start-Up Program

#2 Post by foxidrive » 26 Nov 2014 12:39

Aliquisquiludos wrote:- How can I ask a user for input using a prompt?

Open a cmd prompt and type set /? and look at the /p variation.
- Can I store their input in a file or somewhere I can see it later? If so how?

Echo and redirection can store information in a file.


Would I be right in thinking that these questions are from an assignment?

Post Reply